[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Wed Feb 1 17:31:26 CET 2006
On Wednesday 01 February 2006 11:03, Dirk Mueller wrote:
> - double HR[rows], sum_HR=0;
> + QMemArray<double> HR(rows);
> + double sum_HR=0;
> KstViewObject *ob;
> double hr;
> for (r=0; r<rows; r++) {
I somehow missed this before, but using a non-shared-ptr here can caused
problems later. Once we start updating view objects, this could be a
dangling pointer.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list