From 59ad9e9cf0a72b31f8bfd371cb97536ed4d4fe61 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 14 Dec 2005 01:53:02 +0000 Subject: fixed double-free on clearing values and dirs reintroduced missing help message fixed clearing values and dirs, e.g. with messages clrall and clrrec more symbol escaping rename help file svn path=/trunk/; revision=4208 --- externals/grill/pool/pool-help.pd | 14 +++++++------- externals/grill/pool/pool.vcproj | 4 ++-- externals/grill/pool/readme.txt | 2 ++ externals/grill/pool/source/main.cpp | 8 +++++++- externals/grill/pool/source/pool.cpp | 9 +++++++-- 5 files changed, 25 insertions(+), 12 deletions(-) (limited to 'externals/grill') diff --git a/externals/grill/pool/pool-help.pd b/externals/grill/pool/pool-help.pd index ea6b64b8..0f3dfa9c 100644 --- a/externals/grill/pool/pool-help.pd +++ b/externals/grill/pool/pool-help.pd @@ -1,4 +1,4 @@ -#N canvas 4 3 943 713 12; +#N canvas 4 3 947 717 12; #X msg 296 105 set 1 2 3; #X obj 238 631 print K; #X msg 607 211 getall; @@ -225,8 +225,6 @@ the folder containing the current patcher will be used.; #X connect 2 0 0 0; #X connect 8 0 0 0; #X restore 717 659 pd print; -#X text 272 13 a hierarchical storage object \, (C)2002-2004 Thomas -Grill; #X text 272 33 http://grrrr.org; #X msg 428 225 geti \$1; #X text 426 185 get indexed element; @@ -237,6 +235,8 @@ Grill; #X msg 295 276 seti 3 Uhu; #X text 424 343 clear value at index; #X msg 425 363 clri 2; +#X text 272 13 a hierarchical storage object \, (C)2002-2005 Thomas +Grill; #X connect 0 0 69 0; #X connect 2 0 69 0; #X connect 3 0 69 0; @@ -272,7 +272,7 @@ Grill; #X connect 72 0 69 0; #X connect 73 0 69 0; #X connect 74 0 69 0; -#X connect 80 0 69 0; -#X connect 82 0 80 0; -#X connect 85 0 69 0; -#X connect 87 0 69 0; +#X connect 79 0 69 0; +#X connect 81 0 79 0; +#X connect 84 0 69 0; +#X connect 86 0 69 0; diff --git a/externals/grill/pool/pool.vcproj b/externals/grill/pool/pool.vcproj index d1f6a34f..47a056a6 100644 --- a/externals/grill/pool/pool.vcproj +++ b/externals/grill/pool/pool.vcproj @@ -107,12 +107,12 @@ nxt; + d->nxt = NULL; delete d; } while((d = d1) != NULL); dirs[i].d = NULL; @@ -117,6 +121,7 @@ V pooldir::Clear(BL rec,BL dironly) if(v) { do { v1 = v->nxt; + v->nxt = NULL; delete v; } while((v = v1) != NULL); vals[i].v = NULL; -- cgit v1.2.1