X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ab4b99cdfacdecc7356348aa1af2cebdc358e41..b557f0d5a1af92b19cc535b07a340d3976c124e7:/samples/ownerdrw/ownerdrw.cpp?ds=sidebyside diff --git a/samples/ownerdrw/ownerdrw.cpp b/samples/ownerdrw/ownerdrw.cpp index 87f8c89da5..27815e5424 100644 --- a/samples/ownerdrw/ownerdrw.cpp +++ b/samples/ownerdrw/ownerdrw.cpp @@ -241,6 +241,8 @@ OwnerDrawnFrame::OwnerDrawnFrame(wxFrame *frame, char *title, int x, int y, int } + delete[] astrChoices; + // create the status line const int widths[] = { -1, 60 }; CreateStatusBar(2);