commit | 7b1e3bd2b3aa2876f7a2135ee277d481ed0edba8 | [log] [tgz] |
---|---|---|
author | Tomas Cejka <cejkat@cesnet.cz> | Tue Apr 08 14:34:28 2014 +0200 |
committer | Tomas Cejka <cejkat@cesnet.cz> | Tue Apr 08 14:34:28 2014 +0200 |
tree | 64647c7f19f96525760a9438c90c8c9d034b6ee7 | |
parent | 442258e433dcbae1aff7be72b3ceedc24572195e [diff] |
BUGFIX: deference of NULL pointer during get notif. hist.
diff --git a/src/mod_netconf.c b/src/mod_netconf.c index 2abc8b0..38ac63e 100644 --- a/src/mod_netconf.c +++ b/src/mod_netconf.c
@@ -539,8 +539,8 @@ /* there is error handled by callback */ if (data != NULL) { free(*data); + (*data) = NULL; } - (*data) = NULL; return NULL; case NC_MSG_REPLY: switch (replyt = nc_reply_get_type(reply)) {