diff --git a/src/evt_core.c b/src/evt_core.c index 7e3ee92..ffe547a 100644 --- a/src/evt_core.c +++ b/src/evt_core.c @@ -4,7 +4,7 @@ void free_fdinfo(void* v) { struct evt_core_fdinfo* fdinfo = (struct evt_core_fdinfo*)v; close(fdinfo->fd); // We close the file descriptor here if (fdinfo->url != NULL) free(fdinfo->url); // We free the URL here; - if (fdinfo->other != NULL) fdinfo->free_other(fdinfo->other); + if (fdinfo->free_other != NULL) fdinfo->free_other(fdinfo->other); free(v); }