wxPyConstructObject with wxImage question

wxPyConstructObject with setThisOwn = true wont leak… right?

    wxImage* pWxImage = new wxImage(wxSize(wholeImage.width, wholeImage.height));
..
    PyObject* _wxobj = wxPyConstructObject(pWxImage, wxT("wxImage"), true);
    if (_wxobj == nullptr)
        throw PyNullObject();
    return _wxobj;

Sorry I had a bad test… ignore me : )