Hi I found a memory leak in client_conn.c. My fix is attached.
Cheers,
Manuele
=== modified file 'uspace/srv/devman/client_conn.c'
--- uspace/srv/devman/client_conn.c	2015-08-23 12:50:23 +0000
+++ uspace/srv/devman/client_conn.c	2016-07-19 10:03:34 +0000
@@ -631,6 +631,7 @@
 	link_t *link = list_nth(&drv->match_ids.ids, index);
 	if (link == NULL) {
 		fibril_mutex_unlock(&drv->driver_mutex);
+		free(buffer);
 		async_answer_0(data_callid, ENOMEM);
 		async_answer_0(iid, ENOMEM);
 		return;

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to