--- rxvt-unicode/src/rxvttoolkit.C 2006/08/07 15:12:48 1.61 +++ rxvt-unicode/src/rxvttoolkit.C 2006/08/18 23:03:31 1.63 @@ -581,7 +581,7 @@ void rxvt_display::reg (xevent_watcher *w) { - if (!w.active) + if (!w->active) { xw.push_back (w); w->active = xw.size (); @@ -811,7 +811,7 @@ got = alloc (screen, rgba (best->red, best->green, best->blue)); - delete colors; + delete [] colors; } #endif