diff options
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 185e09d65..efb00c111 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -1842,6 +1842,7 @@ change_preference_send_continuation (void *cls, | |||
1842 | struct GNUNET_CORE_InformationRequestContext *irc = cls; | 1842 | struct GNUNET_CORE_InformationRequestContext *irc = cls; |
1843 | 1843 | ||
1844 | irc->cm = NULL; | 1844 | irc->cm = NULL; |
1845 | // FIXME: who frees 'irc'? | ||
1845 | } | 1846 | } |
1846 | 1847 | ||
1847 | 1848 | ||
@@ -1901,6 +1902,7 @@ GNUNET_CORE_peer_change_preference (struct GNUNET_CORE_Handle *h, | |||
1901 | irc = GNUNET_malloc (sizeof (struct GNUNET_CORE_InformationRequestContext)); | 1902 | irc = GNUNET_malloc (sizeof (struct GNUNET_CORE_InformationRequestContext)); |
1902 | irc->h = h; | 1903 | irc->h = h; |
1903 | irc->pr = pr; | 1904 | irc->pr = pr; |
1905 | // FIXME: who frees 'irc'? (if not cancelled?) | ||
1904 | cm = GNUNET_malloc (sizeof (struct ControlMessage) + | 1906 | cm = GNUNET_malloc (sizeof (struct ControlMessage) + |
1905 | sizeof (struct RequestInfoMessage)); | 1907 | sizeof (struct RequestInfoMessage)); |
1906 | cm->cont = &change_preference_send_continuation; | 1908 | cm->cont = &change_preference_send_continuation; |