swscanf memory leak on C compiler 5.5
807575Dec 24 2003 — edited Feb 4 2004Has anyone came across memory leak in swscanf function?
For each call of this function dbx RTC memory check reports one byte leak.
I get report like below.
Total Num of Leaked Allocation call stack
Size Blocks Block
Address
====== ====== ========== =======================================
1 1 0x20fe8 wdungetwc < __wdoscan_u < swscanf < xample < main
Actual leaks report (actual leaks: 2 total size: 2 bytes)
Total Num of Leaked Allocation call stack
Size Blocks Block
Address
====== ====== ========== =======================================
2 2 - wdungetwc < __wdoscan_u
Even on Sun workshop C version 5.3 same leak is shown.