Otherwise, we may returned freed memory. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- monitored.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/monitored.c b/monitored.c index 3f90368..3e7eda8 100644 --- a/monitored.c +++ b/monitored.c @@ -87,6 +87,7 @@ free_device: free(devices->device); free_devices: free(devices); + devices = NULL; goto out; } -- 1.7.11.2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel