summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c
index 5658c81..60e49fa 100644
--- a/src/format.c
+++ b/src/format.c
@@ -1499,6 +1499,7 @@ format_referred(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e,
if (filter == NULL) {
slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id,
"referred: out of memory\n");
+ free(tndn);
backend_free_set_config(set_bases, set_filter);
slapi_pblock_destroy(local_pb);
format_free_parsed_args(argv);