s3:registry: Avoid a double-free in reg_perfcount
authorAndreas Schneider <asn@samba.org>
Wed, 26 Sep 2018 12:29:50 +0000 (14:29 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 19 Oct 2018 21:11:26 +0000 (23:11 +0200)
commit2679dd0fd87903822f7ed29cfb88834838e69346
tree7b769e02936135ed60f12e7343198917ed15ceec
parent9e03fb60dca0ebafa8bf8095d6e21659bdf453ee
s3:registry: Avoid a double-free in reg_perfcount

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/registry/reg_perfcount.c