summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-06-03 15:29:54 +0200
committerAndreas Gruenbacher <agruen@suse.de>2010-06-03 18:28:23 +0200
commit5b28eb3b0e0430ce6af28edc9100ca23299d1218 (patch)
tree21d4f28d9db8328ae7ced50a7f18848e5534ebce
parent42f50a130d144ffbc01738f15da9d4f1b57505bd (diff)
downloadattr-5b28eb3b0e0430ce6af28edc9100ca23299d1218.tar.gz
attr_parse_attr_conf: eliminate a double free
-rw-r--r--libattr/attr_copy_action.c1
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;
}