Fix : double destroy in context remove
authorJulien Desfossez <julien.desfossez@efficios.com>
Mon, 23 Apr 2012 14:41:18 +0000 (10:41 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 23 Apr 2012 14:41:18 +0000 (10:41 -0400)
commit188e72bf705ebe0276e7966a9bf46b74e583bcfc
treee70c957a723f9d391416004b0cf8c7e2c1fdb296
parent36dbe3e61ca54e7b648aa120ccd200e7fe12b22c
Fix : double destroy in context remove

The hashtable storing the trace handle is created with a destroy
function that frees the elements when they are removed. Manually calling
the destroy function after removing a handle for the table causes
double-free problems.

Fixes #197

Reported-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/context.c
This page took 0.032105 seconds and 4 git commands to generate.