diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-27 20:38:52 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-27 22:22:11 +0200 |
commit | 7e6030a495edcd2e9b6b82f63f19524c818aab59 (patch) | |
tree | 5e02fd365fe3d69ee609ec0ed1bf9f4a7e6463a5 /source3/modules/vfs_smb_traffic_analyzer.c | |
parent | c07be5f74769d5a3fe450e86ca7e56e9738a3bf6 (diff) | |
download | samba-7e6030a495edcd2e9b6b82f63f19524c818aab59.tar.gz samba-7e6030a495edcd2e9b6b82f63f19524c818aab59.tar.bz2 samba-7e6030a495edcd2e9b6b82f63f19524c818aab59.zip |
s3: Fix Coverity ID 2226: RESOURCE_LEAK
Holger, please check!
Diffstat (limited to 'source3/modules/vfs_smb_traffic_analyzer.c')
-rw-r--r-- | source3/modules/vfs_smb_traffic_analyzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_smb_traffic_analyzer.c b/source3/modules/vfs_smb_traffic_analyzer.c index f3d68ddee9..1e1732d24b 100644 --- a/source3/modules/vfs_smb_traffic_analyzer.c +++ b/source3/modules/vfs_smb_traffic_analyzer.c @@ -581,6 +581,7 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle, " found, encrypting data!\n")); output = smb_traffic_analyzer_encrypt( talloc_tos(), akey, str, &len); + SAFE_FREE(akey); header = smb_traffic_analyzer_create_header( talloc_tos(), state_flags, len); |