diff options
author | nyamatongwe <unknown> | 2003-02-19 09:03:47 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-02-19 09:03:47 +0000 |
commit | 2c2f7515211fd3946cecac125d546abd60436ca3 (patch) | |
tree | 240bdb0044a1a03c0365954f7f16e8415c9ce08e /src/LineMarker.h | |
parent | bb028fe06a4e642aa20f72136c2deaf312ba61b9 (diff) | |
download | scintilla-mirror-2c2f7515211fd3946cecac125d546abd60436ca3.tar.gz |
Made operator= safer if misused.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r-- | src/LineMarker.h | 1 |
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; } |