diff options
Diffstat (limited to 'src/scalarproduct/scalarproduct_api.c')
-rw-r--r-- | src/scalarproduct/scalarproduct_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c index 89cb4db17..95aaaf86a 100644 --- a/src/scalarproduct/scalarproduct_api.c +++ b/src/scalarproduct/scalarproduct_api.c | |||
@@ -78,7 +78,7 @@ struct GNUNET_SCALARPRODUCT_ComputationHandle | |||
78 | /** | 78 | /** |
79 | * The shared session key identifying this computation | 79 | * The shared session key identifying this computation |
80 | */ | 80 | */ |
81 | struct GNUNET_HashCode * key; | 81 | struct GNUNET_HashCode key; |
82 | 82 | ||
83 | /** | 83 | /** |
84 | * Current transmit handle. | 84 | * Current transmit handle. |
@@ -249,6 +249,7 @@ receive_cb (void *cls, const struct GNUNET_MessageHeader *msg) | |||
249 | if (qe->cont_datum != NULL) | 249 | if (qe->cont_datum != NULL) |
250 | qe->response_proc (qe, msg, status); | 250 | qe->response_proc (qe, msg, status); |
251 | 251 | ||
252 | GNUNET_CONTAINER_DLL_remove (head, tail, qe); | ||
252 | GNUNET_free (qe); | 253 | GNUNET_free (qe); |
253 | } | 254 | } |
254 | 255 | ||