summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c
index 3591dc0..8f42223 100644
--- a/src/format.c
+++ b/src/format.c
@@ -3497,6 +3497,8 @@ format_dribble_merge(struct plugin_state *state, Slapi_PBlock *pb,
bv.bv_val = buf;
bv.bv_len = buf_used;
format_add_bv_list(&choices, &bv);
+ } else {
+ free(buf);
}
format_free_parsed_args(argv);
if (choices != NULL) {