소스 검색

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
Steven Dake 17 년 전
부모
커밋
73cb3ae590
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/corosync/hdb.h

+ 1 - 1
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);
 }