From: Egbert Eich <e...@suse.com> Currently the name member is set in wcmParseSerials() only, however it is dynamically allocated. thus free it when destroying the structure which contains it.
Signed-off-by: Egbert Eich <e...@suse.com> --- src/wcmCommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index a0db134..afc09f9 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -1499,6 +1499,7 @@ void wcmFreeCommon(WacomCommonPtr *ptr) common->serials->serial, common->serials->name); + free(common->serials->name); next = common->serials->next; free(common->serials); common->serials = next; -- 1.8.1.4 ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel