Resource leak (RESOURCE_LEAK)71. leaked_storage:
Variable cq going out of scope leaks the storage it points to.
CID: 270511
Obtained from: NetBSD (CVS rev. 1.34)
Differential D1775
Plug Memory leak in libc's disklabel pfg on Feb 4 2015, 3:49 PM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions This was mostly taken from NetBSD. I added the cgetclose(); at the end: it seemed appropriate. Comment Actions Thank you for the review. Yes, it's not a common call but I see another leak at: I am traversing the list of old-standing coverity issues and I am focusing on libc first though. |