diff options
Diffstat (limited to 'generic/tkbltGrAxisOption.C')
-rw-r--r-- | generic/tkbltGrAxisOption.C | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkbltGrAxisOption.C b/generic/tkbltGrAxisOption.C index cec594d..6f91d99 100644 --- a/generic/tkbltGrAxisOption.C +++ b/generic/tkbltGrAxisOption.C @@ -216,8 +216,7 @@ static void TicksFreeProc(ClientData clientData, Tk_Window tkwin, char *ptr) { Ticks* ticksPtr = *(Ticks**)ptr; - if (ticksPtr) - delete ticksPtr; + delete ticksPtr; } static Tk_CustomOptionSetProc ObjectSetProc; |