Add free() of a NULL pointer to make tools happy
Nalin Dahyabhai
10 years ago
2811 | 2811 | slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, |
2812 | 2812 | "ifeq: error evaluating \"%s\"\n", argv[1]); |
2813 | 2813 | format_free_parsed_args(argv); |
2814 | /* Shouldn't be necessary, since format_get_data_set() should | |
2815 | * only ever return a NULL lengths list when it returns NULL, | |
2816 | * but it'll make tools happy. */ | |
2817 | free(lengths); | |
2814 | 2818 | return -EINVAL; |
2815 | 2819 | } |
2816 | 2820 |