Don't leak m_protocol in wxURL.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Mar 2010 11:06:26 +0000 (11:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Mar 2010 11:06:26 +0000 (11:06 +0000)
commitbe103d4a3d79b507fa514587d792e8bdcfa89a7c
tree92aad87db23bc2051c10799c347df7b12e8c3550
parent46291feecd04a7a437a9c99b23b341327cc8e540
Don't leak m_protocol in wxURL.

Destroy the old protocol before creating it anew in ParseURL().

Closes #11796.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/url.cpp