summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
abfab6f)
Addresses benign scan-build waring:
Result of 'realloc' is converted to a pointer of type 'char *',
which is incompatible with sizeof operand type 'char **'
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
goto error;
}
new_exclusion_list = realloc(exclusion_list,
goto error;
}
new_exclusion_list = realloc(exclusion_list,
- sizeof(char **) * (exclusion_count + 1));
+ sizeof(char *) * (exclusion_count + 1));
if (!new_exclusion_list) {
PERROR("realloc");
free(string);
if (!new_exclusion_list) {
PERROR("realloc");
free(string);