In the Linux kernel, the following vulnerability has been resolved: objtool: Fix memory leak in createstaticcallsections() strdup() allocates memory for keyname. We need to release the memory in the following error paths. Add free() to avoid memory leak.