[Pcsclite-cvs-commit] r5841 - /trunk/PCSC/src/hotplug_libudev.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Jul 6 11:52:27 UTC 2011


Author: rousseau
Date: Wed Jul  6 11:52:27 2011
New Revision: 5841

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5841
Log:
Fix a memory leak

coverity: Event leaked_storage: Variable "CFBundleName" going out of
scope leaks the storage it points to.

Modified:
    trunk/PCSC/src/hotplug_libudev.c

Modified: trunk/PCSC/src/hotplug_libudev.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_libudev.c?rev=5841&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_libudev.c (original)
+++ trunk/PCSC/src/hotplug_libudev.c Wed Jul  6 11:52:27 2011
@@ -216,6 +216,7 @@
 				}
 			}
 			bundleRelease(&plist);
+			free(CFBundleName);
 		}
 	}
 




More information about the Pcsclite-cvs-commit mailing list