summaryrefslogtreecommitdiffstats
path: root/src/format.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-25 16:05:38 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-25 16:05:38 -0400
commit6b3652f1ae84efa950180095d9b78fc68974183d (patch)
tree529fb665818016946286ca03dff42ddfebef1e1f /src/format.c
parent7a8b8b1fdb8d96b7a6b6131ba873565a750ee0ce (diff)
- whoops, don't leak that if we do nothing with it
Diffstat (limited to 'src/format.c')
-rw-r--r--src/format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c
index f39635c..d360efb 100644
--- a/src/format.c
+++ b/src/format.c
@@ -1706,6 +1706,7 @@ format_expand_simple(struct plugin_state *state,
/* Retrieve the value. */
value_list = NULL;
tmp = format_single(state, pb, e, attribute, disallowed, &value_list);
+ format_free_attr_list(value_list);
if (tmp == NULL) {
/* The attribute is undefined, or we're treating it as if it
* is. */