diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-11-04 01:30:25 -0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-11-04 01:30:25 -0200 |
commit | 10e353aa321348e61805be443daca6e1be8bf51f (patch) | |
tree | 3b77ffdb176ce2f125142bf7242c8e3dcba9f90d /src | |
parent | bbe7e42e7ae5b5eb5d8f20fdf79c8a3e622746b8 (diff) | |
download | blogc-10e353aa321348e61805be443daca6e1be8bf51f.tar.gz blogc-10e353aa321348e61805be443daca6e1be8bf51f.tar.bz2 blogc-10e353aa321348e61805be443daca6e1be8bf51f.zip |
Revert "Revert "content-parser: fix memory leak in gcc""
This reverts commit 13ce0cdba95a857410208282ea5d0bb13ee1baec.
Diffstat (limited to 'src')
-rw-r--r-- | src/content-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content-parser.c b/src/content-parser.c index 1529ace..f451587 100644 --- a/src/content-parser.c +++ b/src/content-parser.c @@ -1109,7 +1109,7 @@ param_end: if (c == '\n' || c == '\r' || is_last) { char *rv_d = blogc_directive_loader(directive_name, directive_argument, directive_params); - if (rv_d) + if (rv_d != NULL) b_string_append(rv, rv_d); free(rv_d); state = CONTENT_START_LINE; |