diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-12-10 12:12:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-12-10 12:12:56 +0000 |
commit | d398e8833ace1af1bb708b9010fe3c7976a2e135 (patch) | |
tree | 561d0d26f25ec2c04586961f62b47f6957394169 /src/util/plugin.c | |
parent | 05f87d1686e1b68f5334611bd325d27d64dd7ce1 (diff) | |
download | gnunet-d398e8833ace1af1bb708b9010fe3c7976a2e135.tar.gz gnunet-d398e8833ace1af1bb708b9010fe3c7976a2e135.zip |
mem leak
Diffstat (limited to 'src/util/plugin.c')
-rw-r--r-- | src/util/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/plugin.c b/src/util/plugin.c index 4e0385a09..ff203fd83 100644 --- a/src/util/plugin.c +++ b/src/util/plugin.c | |||
@@ -272,12 +272,12 @@ GNUNET_PLUGIN_unload (const char *library_name, void *arg) | |||
272 | plugins = pos->next; | 272 | plugins = pos->next; |
273 | else | 273 | else |
274 | prev->next = pos->next; | 274 | prev->next = pos->next; |
275 | lt_dlclose (pos->handle); | 275 | /* lt_dlclose (pos->handle); */ |
276 | GNUNET_free (pos->name); | 276 | GNUNET_free (pos->name); |
277 | GNUNET_free (pos); | 277 | GNUNET_free (pos); |
278 | if (plugins == NULL) | 278 | if (plugins == NULL) |
279 | { | 279 | { |
280 | plugin_fini (); | 280 | //plugin_fini (); |
281 | initialized = GNUNET_NO; | 281 | initialized = GNUNET_NO; |
282 | } | 282 | } |
283 | return ret; | 283 | return ret; |