diff --git a/src/algo_utils.c b/src/algo_utils.c index 2db616a..58a9cf3 100644 --- a/src/algo_utils.c +++ b/src/algo_utils.c @@ -218,6 +218,7 @@ void notify_read(struct evt_core_ctx* ctx, struct algo_ctx* app_ctx) { } void naive_free_simple(void* v) { - free(v); + GQueue* g = v; + g_queue_free (g); }