You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: memory leak in dlerror error log
This commit fixes an memory leak when ReZygisk logs errors for "dlerror".
This commit is contained in:
@@ -189,6 +189,8 @@ bool inject_on_main(int pid, const char *lib_path) {
|
|||||||
|
|
||||||
LOGE("dlerror info %s", err);
|
LOGE("dlerror info %s", err);
|
||||||
|
|
||||||
|
free(err);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user