summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f4f918)
raw | patch | inline | side by side (parent: 6f4f918)
author | Igor Peshansky <igorpeshansky@github.com> | |
Fri, 16 Sep 2016 16:03:35 +0000 (12:03 -0400) | ||
committer | Igor Peshansky <igorpeshansky@github.com> | |
Fri, 16 Sep 2016 16:06:07 +0000 (12:06 -0400) |
src/target_set.c | patch | blob | history |
diff --git a/src/target_set.c b/src/target_set.c
index 3de86e4840c94cf3e384e8f4fddd9c61a7b51837..6b44bcc4c78f7bb7ef0997d2951d1004b2ec4b85 100644 (file)
--- a/src/target_set.c
+++ b/src/target_set.c
DEBUG ("target_set: ts_invoke: setting metadata value for key `%s': "
"`%s'.", key, temp);
- status = meta_data_add_string (new_meta, key, temp);
+ sfree (string);
+ status = meta_data_add_string (new_meta, key, temp);
if (status)
{
ERROR ("Target `set': Unable to set metadata value `%s'.", key);