Răsfoiți Sursa

Fix segfault because list was not reinitialized after its entry was deleted
and it would later be deleted by closing the ipc.
the


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

Steven Dake 20 ani în urmă
părinte
comite
38151d8e0c
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      exec/clm.c

+ 1 - 0
exec/clm.c

@@ -672,6 +672,7 @@ static void message_handler_req_lib_clm_trackstop (void *conn, void *msg)
 	}
 
 	list_del (&clm_pd->list);
+	list_init (&clm_pd->list);
 
 	openais_conn_send_response (conn, &res_lib_clm_trackstop,
 		sizeof (struct res_lib_clm_trackstop));