mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-03 20:00:48 +00:00
COVERITY 14: free zcb_mapped if memory_map() fails.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2544 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
5f17683107
commit
e5b94a352e
@ -413,6 +413,7 @@ static inline int zcb_alloc (
|
||||
size,
|
||||
addr);
|
||||
if (res == -1) {
|
||||
free (zcb_mapped);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user