From 73cb3ae59096310d6147cf153f633c8683bbbb96 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Wed, 29 Apr 2009 07:14:36 +0000 Subject: [PATCH] Fix leak caused by invalid put in hdb_handle_destroy. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2164 fd59a12c-fef9-0310-b244-a6a79926bd2f --- include/corosync/hdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/corosync/hdb.h b/include/corosync/hdb.h index 08bc20f8..c1eb227d 100644 --- a/include/corosync/hdb.h +++ b/include/corosync/hdb.h @@ -322,7 +322,7 @@ static inline int hdb_handle_destroy ( handle_database->handles[handle].state = HDB_HANDLE_STATE_PENDINGREMOVAL; hdb_database_unlock (&handle_database->lock); - res = hdb_handle_put (handle_database, handle); + res = hdb_handle_put (handle_database, handle_in); return (res); }