davidker / unisys_attic

Stale branches from unisys.git go here.
Other
0 stars 0 forks source link

[CAT] [HARD] visorbus: visorchipset.c: Fix memory leak #46

Open davidker opened 7 years ago

davidker commented 7 years ago

The function parser_string_get allocates a string when then gets stored in bus_info->name. Please tell me where that gets freed, or write a patch to free it during bus_info destroy.

Dr-Emann commented 7 years ago

Written, and testing is running. Verified that all other pointer fields seem to be freed at some point as well.

Dr-Emann commented 7 years ago

https://ustr-hudson-1.na.uis.unisys.com/job/s-Par-LinuxUpstream-T710-W1-Maintainer/148/ Test success.