![]() | |||||||||||
Messages in this thread Patch in this message |
In the function 'disas_funcs' defined in the file /linux/tools/objtool/check.c, a pointer variable named 'cmd' is declared (line 4583 of the file). This pointer variable allocates a block of dynamic memory using the 'malloc' function at line 4615. However, after using the memory area pointed to by 'cmd' (line 4619), it is not deallocated, resulting in a memory leak bug. This commit fixes the bug. | ||||||||||
| Last update: 2024-05-27 16:00 [from the cache] ©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog | |||||||||||