TALLOC_FREE the fde before closing the fd. Otherwise the fde
destructor tries to remove a nonexisting fd from the epoll set.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
err_out:
pcap_cache_destroy_specific(&tmp_pcap_cache);
TALLOC_FREE(frame);
+ TALLOC_FREE(cache_fd_event);
close(cb_args->pipe_fd);
TALLOC_FREE(cb_args);
- TALLOC_FREE(cache_fd_event);
}
bool cups_cache_reload(struct tevent_context *ev,