summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/gencache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index db0b179e65..7bab925648 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -431,6 +431,9 @@ fail:
if (was_expired != NULL) {
*was_expired = expired;
}
+ if (state.result && state.blob) {
+ data_blob_free(state.blob);
+ }
return false;
}