aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LineMarker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LineMarker.h b/src/LineMarker.h
index 50a0331da..ef5924f75 100644
--- a/src/LineMarker.h
+++ b/src/LineMarker.h
@@ -37,6 +37,7 @@ public:
markType = SC_MARK_CIRCLE;
fore = ColourDesired(0,0,0);
back = ColourDesired(0xff,0xff,0xff);
+ delete pxpm;
pxpm = NULL;
return *this;
}