Explorar o código

defect 1066
memory leak in saCkptSectionIterationInitialize


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@912 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake %!s(int64=20) %!d(string=hai) anos
pai
achega
883b26d9ed
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/ckpt.c

+ 1 - 0
lib/ckpt.c

@@ -1310,6 +1310,7 @@ saCkptSectionIterationInitialize (
 	pthread_mutex_unlock (&ckptSectionIterationInstance->response_mutex);
 
 	saHandleInstancePut (&ckptSectionIterationHandleDatabase, *sectionIterationHandle);
+	saHandleInstancePut (&checkpointHandleDatabase, checkpointHandle);
 
 	return (error == SA_AIS_OK ? res_lib_ckpt_sectioniterationinitialize.header.error : error);