4GL popquote mem leak workaround for Bug: 168224
Posted in 2005
First of all this may give away who i really am; for those who know: i would really like to remain incognito anyways Version: 7.20.UE2 on hpux... (YUK.. i know.) we should upgrade.. will most likely happen someday... ok: the application we use was written a long time ago and is putting elephants on the stack where we pull them off using popint and popquote to get the vars into esqlc/c source. unfortunatly we are hitting a memory leak with popquote Bug: 168224 When i look at straigt 4gl eq write a testprogram which does the same it does not leak. eq call func() returning elephant.* when i use c4gl tessie.4gl -o tessie -keep it will give me the stuff used. eq ld_quote , ld_long etc question: is there a good reason why we should not use these as a temp workaround. (yes i do know that these f's change... 7.3 has ibm_lib4gl_loadQuotedString and ibm_lib4gl_loadint4 etc.) also if someone knows of any pitfalls please comment. Any comment is more then welcome. Thanks Superboer.