summaryrefslogtreecommitdiff
path: root/libattr/attr_copy_action.c
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-06-03 15:23:04 +0200
committerAndreas Gruenbacher <agruen@suse.de>2010-06-03 18:28:19 +0200
commit42f50a130d144ffbc01738f15da9d4f1b57505bd (patch)
treeca0b6a5218599c7b1eda556b397072cac710bfab /libattr/attr_copy_action.c
parent1cc88bd4c17ef99ace22c8be362d513f155b1387 (diff)
downloadattr-42f50a130d144ffbc01738f15da9d4f1b57505bd.tar.gz
attr_parse_attr_conf: eliminate a memory leak
Diffstat (limited to 'libattr/attr_copy_action.c')
-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 dc94224..030bbf5 100644
--- a/libattr/attr_copy_action.c
+++ b/libattr/attr_copy_action.c
@@ -129,6 +129,7 @@ repeat:
t += strcspn(t, "\n");
}
+ free(text);
return 0;
parse_error: