Potential memory leak in StringArray
|Created on||Dec 11, 2009 00:07|
Created an attachment (id=619) testcase (SaC source) The attached test case when run with sac2c -check ctb testStringArray3.sac && a.out triggers a segfault in the first call to free in modules/structures/src/StringArray/sel.c. Carl and I fixed this for now by commenting out this line but don't know how this works. We may have even inadvertently created a memory leak. To reproduce the problem first uncomment the call to SAC_ND_DEC_RC_FREE and run the test case as described above.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information