VES5.4.1 EVEL Library enhancements 27/79027/1
authorPrakashH <pbhandar@techmahindra.com>
Fri, 22 Feb 2019 15:47:51 +0000 (21:17 +0530)
committerPrakashH <pbhandar@techmahindra.com>
Fri, 22 Feb 2019 15:47:51 +0000 (21:17 +0530)
Fix Batch memory leak Issue-ID: CERT-17

Change-Id: Ieaf86e0ef4bc84d4a5162834709e8428dc05cd8a
Signed-off-by: PrakashH <pbhandar@techmahindra.com>
vnfs/VES5.0/evel/evel-library/code/evel_library/evel_batch.c

index a33e5e1..d1877dd 100644 (file)
@@ -145,6 +145,7 @@ void evel_free_batch(EVENT_HEADER * event)
     evel_free_event(batch_field);
     batch_field = dlist_pop_last(&event->batch_events);
   }
+  evel_free_header(event); 
 
   EVEL_EXIT();
 }