mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +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) {
|
if (was_expired != NULL) {
|
||||||
*was_expired = expired;
|
*was_expired = expired;
|
||||||
}
|
}
|
||||||
|
if (state.result && state.blob) {
|
||||||
|
data_blob_free(state.blob);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user