aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_context_intern.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_context_intern.c')
-rw-r--r--src/gnunet_chat_context_intern.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gnunet_chat_context_intern.c b/src/gnunet_chat_context_intern.c
index af35e60..1ae146e 100644
--- a/src/gnunet_chat_context_intern.c
+++ b/src/gnunet_chat_context_intern.c
@@ -28,6 +28,16 @@
28#define GNUNET_UNUSED __attribute__ ((unused)) 28#define GNUNET_UNUSED __attribute__ ((unused))
29 29
30int 30int
31it_destroy_context_timestamps (GNUNET_UNUSED void *cls,
32 GNUNET_UNUSED const struct GNUNET_ShortHashCode *key,
33 void *value)
34{
35 struct GNUNET_TIME_Absolute *time = value;
36 GNUNET_free(time);
37 return GNUNET_YES;
38}
39
40int
31it_destroy_context_messages (GNUNET_UNUSED void *cls, 41it_destroy_context_messages (GNUNET_UNUSED void *cls,
32 GNUNET_UNUSED const struct GNUNET_HashCode *key, 42 GNUNET_UNUSED const struct GNUNET_HashCode *key,
33 void *value) 43 void *value)