projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be3e7d
)
- fix segfault
author
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 9 Jul 2012 07:19:48 +0000
(07:19 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 9 Jul 2012 07:19:48 +0000
(07:19 +0000)
src/gns/gnunet-gns.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-gns.c
b/src/gns/gnunet-gns.c
index aad8cc83314a25258d0b6d5c55d433947003b42f..fe2bde1d1bb5fb238dc7db25475394d895766bd9 100644
(file)
--- a/
src/gns/gnunet-gns.c
+++ b/
src/gns/gnunet-gns.c
@@
-290,7
+290,8
@@
run (void *cls, char *const *args, const char *cfgfile,
GNUNET_GNS_get_authority(gns, auth_name, &process_auth_result, auth_name);
}
- GNUNET_CRYPTO_rsa_key_free (shorten_key);
+ if (NULL != shorten_key)
+ GNUNET_CRYPTO_rsa_key_free (shorten_key);
// FIXME: do work here...
//GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);