aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq_event.c')
-rw-r--r--src/pq/pq_event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pq/pq_event.c b/src/pq/pq_event.c
index ecb942230..b87aa6c5a 100644
--- a/src/pq/pq_event.c
+++ b/src/pq/pq_event.c
@@ -346,6 +346,7 @@ GNUNET_PQ_event_listen_cancel (struct GNUNET_PQ_EventHandler *eh)
346 } 346 }
347 GNUNET_assert (0 == 347 GNUNET_assert (0 ==
348 pthread_mutex_unlock (&db->notify_lock)); 348 pthread_mutex_unlock (&db->notify_lock));
349 GNUNET_free (eh);
349} 350}
350 351
351 352
@@ -364,7 +365,7 @@ GNUNET_PQ_event_notify (struct GNUNET_PQ_Context *db,
364 end = es_to_channel (es, 365 end = es_to_channel (es,
365 end); 366 end);
366 end = stpcpy (end, 367 end = stpcpy (end,
367 "'"); 368 ", '");
368 end = GNUNET_STRINGS_data_to_string (extra, 369 end = GNUNET_STRINGS_data_to_string (extra,
369 extra_size, 370 extra_size,
370 end, 371 end,