(util_msgset): Bugfix.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -277,7 +277,7 @@ util_msgset (char *s, size_t **set, int *n, int isuid) | ... | @@ -277,7 +277,7 @@ util_msgset (char *s, size_t **set, int *n, int isuid) |
277 | tmp -= 2; | 277 | tmp -= 2; |
278 | if (tmp < 0 || val == 0) | 278 | if (tmp < 0 || val == 0) |
279 | { | 279 | { |
280 | free (set); | 280 | free (*set); |
281 | *n = 0; | 281 | *n = 0; |
282 | return EINVAL; | 282 | return EINVAL; |
283 | } | 283 | } | ... | ... |
-
Please register or sign in to post a comment