1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:lib/gencache: fix memory leak in error path

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 22 15:08:30 CET 2010 on sn-devel-104
This commit is contained in:
Stefan Metzmacher 2010-12-17 13:26:16 +01:00
parent 94e83e385e
commit d9be7e9368

View File

@ -431,6 +431,9 @@ fail:
if (was_expired != NULL) {
*was_expired = expired;
}
if (state.result && state.blob) {
data_blob_free(state.blob);
}
return false;
}