[Iup-users] Spin in GTK

2019-05-27 Thread Johann Philippe via Iup-users
Hello, Recently downloaded the last IUP (also last CD and IM), which work great. Just one thing : it seems it made me pass from GTK2 to GTK3 - and the spin buttons (from iup text) are now disposed horizontally, instead of vertically... So it's now a bit bigger, because with vertical disposition

Re: [Iup-users] CID 210676 (#1 of 1): Resource leak (RESOURCE_LEAK)

2019-05-27 Thread Andrew Robinson
Very well put, Antonio Sir. On 2019-05-27 at 8:10 AM, Antonio Scuri wrote: The only possibility for a leak there if there is an infinite loop in the "for". The "for" is ended only when "return" is called right after free. If you can show me an actual situation where there is a leak, then

Re: [Iup-users] CID 210676 (#1 of 1): Resource leak (RESOURCE_LEAK)

2019-05-27 Thread Antonio Scuri
The only possibility for a leak there if there is an infinite loop in the "for". The "for" is ended only when "return" is called right after free. If you can show me an actual situation where there is a leak, then we will try to fix it. But adding a free after the "for" is not a fix. Best, Sc

Re: [Iup-users] CID 210676 (#1 of 1): Resource leak (RESOURCE_LEAK)

2019-05-27 Thread Ranier VF
Hi Scuri, Acccording to Coverity this is a real bug: static void iAttribParse(Ihandle *ih, const char* str) 1463{ 1464 char env_buffer[256]; 1465 char* name=NULL; 1466 char* value=NULL; 1467 char state = 'a'; /* get attribute */ 1468 int end = 0; 1469 1470 env_str = str; 1471

Re: [Iup-users] Follow-up on Holzmann@JPL, Coverity and Tecgraf tools...

2019-05-27 Thread Thorkil Naur via Iup-users
Hello, On Sun, May 26, 2019 at 08:36:27PM +0930, sur-behoffski wrote: > ... > [I'm simply working off of the one presentation by Gerald Holzmann in > making up this description... if I am wrong, corrections would be very > welcome.] The details provided in Mars Code By Gerard J. Holzmann