slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

S-Lang Exit procedure


Is there any way to free all the stuff allocated by :
 
SLang_init_all (); 
SLadd_intrin_fun_table (My_Intrinsics, NULL); 
SLadd_intrinsic_variable ("I_Variable", &I, SLANG_INT_TYPE, 0)); 
...

I want to exit my program without memory leak...
In the documentation and slang.h, I only found :
 
SLang_exit_error (char *, ...);

But I still have tons of leak. 
(My app should not exit(); at this point and I can not put
SLang_exit_error(); later)
 
Thanks for help

[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]