diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-14 15:53:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-14 15:53:47 +0000 |
commit | 6d5f2d7b3d3daefada86869e8a4b2930f80b7ee3 (patch) | |
tree | 10457517c78e89d739ae38fd8955f9ffe6653c2d /src/dht/dht_api.c | |
parent | 958367dc3eb8bcef571c9f05ace9dbfcaee037e1 (diff) | |
download | gnunet-6d5f2d7b3d3daefada86869e8a4b2930f80b7ee3.tar.gz gnunet-6d5f2d7b3d3daefada86869e8a4b2930f80b7ee3.zip |
fixing crash of mesh service -- reproduced by regex profiler w 100 peers -- on shutdown due to failure to initialize dht_handle field
Diffstat (limited to 'src/dht/dht_api.c')
-rw-r--r-- | src/dht/dht_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c index f46900778..0e709a83f 100644 --- a/src/dht/dht_api.c +++ b/src/dht/dht_api.c | |||
@@ -1268,6 +1268,7 @@ GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, | |||
1268 | pending); | 1268 | pending); |
1269 | pending->in_pending_queue = GNUNET_YES; | 1269 | pending->in_pending_queue = GNUNET_YES; |
1270 | get_handle = GNUNET_malloc (sizeof (struct GNUNET_DHT_GetHandle)); | 1270 | get_handle = GNUNET_malloc (sizeof (struct GNUNET_DHT_GetHandle)); |
1271 | get_handle->dht_handle = handle; | ||
1271 | get_handle->iter = iter; | 1272 | get_handle->iter = iter; |
1272 | get_handle->iter_cls = iter_cls; | 1273 | get_handle->iter_cls = iter_cls; |
1273 | get_handle->message = pending; | 1274 | get_handle->message = pending; |