diff options
Diffstat (limited to 'lib/ZSendNot.c')
-rw-r--r-- | lib/ZSendNot.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ZSendNot.c b/lib/ZSendNot.c index becb05b..4fc246d 100644 --- a/lib/ZSendNot.c +++ b/lib/ZSendNot.c @@ -38,8 +38,11 @@ ZSrvSendNotice(ZNotice_t *notice, cert_routine)) != ZERR_NONE) return (retval); - if ((retval = ZParseNotice(buffer, len, &newnotice)) != ZERR_NONE) + if ((retval = ZParseNotice(buffer, len, &newnotice)) != ZERR_NONE) { + free(buffer); return (retval); + } + retval = Z_SendFragmentedNotice(&newnotice, len, cert_routine, send_routine); |