mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +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:
parent
94e83e385e
commit
d9be7e9368
@ -431,6 +431,9 @@ fail:
|
||||
if (was_expired != NULL) {
|
||||
*was_expired = expired;
|
||||
}
|
||||
if (state.result && state.blob) {
|
||||
data_blob_free(state.blob);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user