abrt / satyr

Automatic problem management with anonymous reports
GNU General Public License v2.0
19 stars 22 forks source link

Use g_free for g_malloc'd memory #329

Closed michalfabik closed 3 years ago

michalfabik commented 3 years ago

Replace free() with g_free() in cases where the memory was allocated with g_malloc() and similar. Note that there are some plain free()s left because the memory is allocated e.g. by asprintf or __cxa_demangle.

See also abrt/abrt#1567

Also, replace a few forgotten malloc()s with g_malloc().