Skip to content
Snippets Groups Projects
Commit e90aec3f authored by Jakob Olsson's avatar Jakob Olsson
Browse files

additional memory leak fix. STILL leaking through main loop

parent db8ccf0d
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,7 @@ int delete_device(struct device *dev)
/*if (dev->list) // how to check if list contains this element?
list_del(&dev->list);*/
free_device(dev);
free(dev);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment