aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-26 18:19:15 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-26 18:19:15 +0000
commit27ed8fcbc85a361864948edb517d47804c2b5a56 (patch)
tree01626713ea5b2ead4691f13eb66a1574b1c0c7fd /src/core
parentb6c71d97d2a4bb3cb0e0e0ac1cd2a4e145748cc6 (diff)
downloadgnunet-27ed8fcbc85a361864948edb517d47804c2b5a56.tar.gz
gnunet-27ed8fcbc85a361864948edb517d47804c2b5a56.zip
datastore and fs fixes from Easter
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_api.c2
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;