diff options
-rw-r--r-- | core/Messenger.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Messenger.c b/core/Messenger.c index 45e8e3f9..e2d83ada 100644 --- a/core/Messenger.c +++ b/core/Messenger.c | |||
@@ -572,7 +572,10 @@ Messenger * initMessenger(void) | |||
572 | 572 | ||
573 | /* run this before closing shop */ | 573 | /* run this before closing shop */ |
574 | void cleanupMessenger(Messenger *m){ | 574 | void cleanupMessenger(Messenger *m){ |
575 | /* FIXME TODO it seems no one frees friendlist or all the elements status */ | 575 | /* FIXME TODO ideally cleanupMessenger will mirror initMessenger |
576 | * this requires the other modules to expose cleanup functions | ||
577 | */ | ||
578 | free(m->friendlist); | ||
576 | free(m); | 579 | free(m); |
577 | } | 580 | } |
578 | 581 | ||