mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 11:35:45 +00:00
kernel: Delete cond attr
May solve memory leaks in games that create/destroy these often
This commit is contained in:
parent
96f7a75f38
commit
e3c2a91477
1 changed files with 1 additions and 0 deletions
|
@ -1182,6 +1182,7 @@ int PS4_SYSV_ABI scePthreadCondattrDestroy(ScePthreadCondattr* attr) {
|
|||
int result = pthread_condattr_destroy(&(*attr)->cond_attr);
|
||||
|
||||
LOG_DEBUG(Kernel_Pthread, "scePthreadCondattrDestroy: result = {} ", result);
|
||||
delete *attr;
|
||||
|
||||
switch (result) {
|
||||
case 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue