X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ab4b99cdfacdecc7356348aa1af2cebdc358e41..a54d6c1bbb35f6adce30704c987496acc0337020:/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);