|
From: Paul P. <ppl...@gm...> - 2005-08-08 04:12:46
|
On 8/7/05, Christian Parpart <tr...@ge...> wrote: ... > having a look at that line 241 that caused the "invalid read of size 1", = I see my > code like this: >=20 > if (foo) Most likely 'foo' is an instance variable and 'this' is NULL. If not, you'll need to establish a bit more context. > okay, foo is the problem, but still... why is foo my problem here? is thi= s space > already freed as well? but if so, why didn't valgrind tell me? The space was not free()d. It was never allocated or valid (not on stack, not in heap, nowehere at all). Cheers, |