diff --git a/src/algo_utils.c b/src/algo_utils.c index 5ab5899..be059b0 100644 --- a/src/algo_utils.c +++ b/src/algo_utils.c @@ -179,8 +179,8 @@ void mv_buffer_atow(struct buffer_resources *app_ctx, void* from, struct evt_cor // 1. We get the buffer bp = g_hash_table_lookup (app_ctx->application_waiting, from); if (bp == NULL) { - fprintf(stderr, "Unable to find this application buffer in atow. Freeing the packet.\n"); - mv_buffer_atof (app_ctx, from); + fprintf(stderr, "Unable to find this application buffer in atow. Doing nothing...\n"); + return; } // 2. We get the target writing queue