diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-07-09 07:19:48 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-07-09 07:19:48 +0000 |
commit | 48c8abc3266bc9f56ea60e3130bcc73680453a16 (patch) | |
tree | adf79e4d7e711c0a78342a49858e528947493f9b /src/gns/gnunet-gns.c | |
parent | 0be3e7d94468b591b6d75192692ba5b26717ad07 (diff) | |
download | gnunet-48c8abc3266bc9f56ea60e3130bcc73680453a16.tar.gz gnunet-48c8abc3266bc9f56ea60e3130bcc73680453a16.zip |
- fix segfault
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index aad8cc833..fe2bde1d1 100644 --- 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, | |||
290 | GNUNET_GNS_get_authority(gns, auth_name, &process_auth_result, auth_name); | 290 | GNUNET_GNS_get_authority(gns, auth_name, &process_auth_result, auth_name); |
291 | } | 291 | } |
292 | 292 | ||
293 | GNUNET_CRYPTO_rsa_key_free (shorten_key); | 293 | if (NULL != shorten_key) |
294 | GNUNET_CRYPTO_rsa_key_free (shorten_key); | ||
294 | 295 | ||
295 | // FIXME: do work here... | 296 | // FIXME: do work here... |
296 | //GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); | 297 | //GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); |