diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2012-12-05 12:53:50 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2012-12-05 12:53:50 +0000 |
commit | a503af91a8a93bdaeb15b5467c2d98018eb719c5 (patch) | |
tree | dfe0c09893b34b160ac11d74d2862e8f52ed43fe /lib/isccc/cc.c | |
parent | 8d876c495fa11d5aa72e8340d4b6efa1e911030b (diff) |
Notes
Diffstat (limited to 'lib/isccc/cc.c')
-rw-r--r-- | lib/isccc/cc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isccc/cc.c b/lib/isccc/cc.c index b549d6cb9e2e..1ab9479855ee 100644 --- a/lib/isccc/cc.c +++ b/lib/isccc/cc.c @@ -399,8 +399,6 @@ table_fromwire(isccc_region_t *source, isccc_region_t *secret, first_tag = ISC_FALSE; } - *alistp = alist; - if (secret != NULL) { if (checksum_rstart != NULL) result = verify(alist, checksum_rstart, @@ -412,7 +410,9 @@ table_fromwire(isccc_region_t *source, isccc_region_t *secret, result = ISC_R_SUCCESS; bad: - if (result != ISC_R_SUCCESS) + if (result == ISC_R_SUCCESS) + *alistp = alist; + else isccc_sexpr_free(&alist); return (result); |