diff options
Diffstat (limited to 'src/format.c')
-rw-r--r-- | src/format.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c index 999f2e4..e17fac0 100644 --- a/src/format.c +++ b/src/format.c @@ -2812,6 +2812,10 @@ format_ifeq(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e, slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "ifeq: error evaluating \"%s\"\n", argv[1]); format_free_parsed_args(argv); + /* Shouldn't be necessary, since format_get_data_set() should + * only ever return a NULL lengths list when it returns NULL, + * but it'll make tools happy. */ + free(lengths); return -EINVAL; } |