projects
/
adu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parse_format_string(): Explicitly set the result pointer to NULL on errors.
[adu.git]
/
format.c
diff --git
a/format.c
b/format.c
index a3a01ba1ca18b230298f5b349cf8f1737a0d49f6..bcdbff9ff425df1783975cf8ac62a64ab28fa40e 100644
(file)
--- a/
format.c
+++ b/
format.c
@@
-259,6
+259,7
@@
err:
}
free(info->items);
free(info);
+ *result = NULL;
return ret;
}