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:
869b3a7
)
fix potential free-of-null
author
Christian Grothoff
<christian@grothoff.org>
Sun, 8 Jan 2017 19:12:23 +0000
(20:12 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 8 Jan 2017 19:12:23 +0000
(20:12 +0100)
src/nat/gnunet-service-nat.c
patch
|
blob
|
history
diff --git
a/src/nat/gnunet-service-nat.c
b/src/nat/gnunet-service-nat.c
index 7fa329b54ecf6d560c5b709bb69987a05c939807..6ef0dce5ea68d79b5a51cc9108815238a317f391 100644
(file)
--- a/
src/nat/gnunet-service-nat.c
+++ b/
src/nat/gnunet-service-nat.c
@@
-1968,7
+1968,7
@@
client_disconnect_cb (void *cls,
ch->ext_dns = NULL;
}
GNUNET_free_non_null (ch->hole_external);
- GNUNET_free (ch->section_name);
+ GNUNET_free
_non_null
(ch->section_name);
GNUNET_free (ch);
}