diff options
author | Kamil Dudka <kdudka@redhat.com> | 2010-06-03 15:29:54 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2010-06-03 18:28:23 +0200 |
commit | 5b28eb3b0e0430ce6af28edc9100ca23299d1218 (patch) | |
tree | 21d4f28d9db8328ae7ced50a7f18848e5534ebce | |
parent | 42f50a130d144ffbc01738f15da9d4f1b57505bd (diff) | |
download | attr-5b28eb3b0e0430ce6af28edc9100ca23299d1218.tar.gz |
attr_parse_attr_conf: eliminate a double free
-rw-r--r-- | libattr/attr_copy_action.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c index 030bbf5..2697328 100644 --- a/libattr/attr_copy_action.c +++ b/libattr/attr_copy_action.c @@ -81,6 +81,7 @@ repeat: fclose(file); file = NULL; free(text); + text = NULL; size_guess *= 2; goto repeat; } |