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) |
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 f469007784..0e709a83ff 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, pending); pending->in_pending_queue = GNUNET_YES; get_handle = GNUNET_malloc (sizeof (struct GNUNET_DHT_GetHandle)); + get_handle->dht_handle = handle; get_handle->iter = iter; get_handle->iter_cls = iter_cls; get_handle->message = pending; |