summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec641ae)
raw | patch | inline | side by side (parent: ec641ae)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 25 Jul 2015 10:32:06 +0000 (12:32 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 3 Aug 2015 21:07:48 +0000 (23:07 +0200) |
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 5d31e46f4d8ab88bdb00a53cbfb184c12e86b24f..97352c4778d28f88c796101d5be082bcef0bbb48 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
while (42)
{
- callback_func_t *cf;
+ read_func_t *rf;
- cf = c_heap_get_root (read_heap);
- if (cf == NULL)
+ rf = c_heap_get_root (read_heap);
+ if (rf == NULL)
break;
-
- destroy_callback (cf);
+ sfree (rf->rf_name);
+ destroy_callback ((callback_func_t *) rf);
}
c_heap_destroy (read_heap);