Module heap not cleared when stop and unload the module

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Module heap not cleared when stop and unload the module

Post by ne0h »

Hi,
How can I clear a module heap?
Isn't it cleared when unloading?

Thanks,

ne0h
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Declare prototype

Code: Select all

int __psp_free_heap(void);
Call it in module_stop()
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

Thanks Torch!
Post Reply