aboutsummaryrefslogtreecommitdiffstats
path: root/libparc
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-10-14 16:26:22 +0200
committerJordan Augé <jordan.auge+fdio@cisco.com>2019-10-14 17:32:14 +0200
commite637823e41ad922f8d9787ff6f5045b720f53cb3 (patch)
tree31d8cf7228eb5d4463b2fcf5f74d841897b4a2d0 /libparc
parente7a7324c575f9d0807dc32ca8ae95273f4615831 (diff)
[CICN-20] use-after-free causes several valgrind warnings
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> Change-Id: Ibeff21ff8533b02dc1541b6a31491eb7d762addc
Diffstat (limited to 'libparc')
-rw-r--r--libparc/parc/algol/internal_parc_Event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libparc/parc/algol/internal_parc_Event.c b/libparc/parc/algol/internal_parc_Event.c
index 9335e1e0..53c1f0f0 100644
--- a/libparc/parc/algol/internal_parc_Event.c
+++ b/libparc/parc/algol/internal_parc_Event.c
@@ -79,8 +79,8 @@ internal_parc_initializeLibevent(void)
struct event *event = event_new(evbase, -1, 0, NULL, NULL);
parcAssertNotNull(event, "Libevent event_new returned NULL");
event_del(event);
- event_base_free(evbase);
event_free(event);
+ event_base_free(evbase);
event_set_mem_functions(internal_parc_alloc,
internal_parc_realloc,