]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/sound.cpp
fix memory leak while testing for correct Clone() implementation (closes #10304)
[wxWidgets.git] / src / unix / sound.cpp
index 66db2735140da22bd4fbcd049ec688f92e65a737..0afab5a47be20af4ea990f0dc8ad1a8f6ab5179c 100644 (file)
@@ -296,7 +296,7 @@ class wxSoundSyncOnlyAdaptor : public wxSoundBackend
 public:
     wxSoundSyncOnlyAdaptor(wxSoundBackend *backend)
         : m_backend(backend), m_playing(false) {}
-    ~wxSoundSyncOnlyAdaptor()
+    virtual ~wxSoundSyncOnlyAdaptor()
     {
         delete m_backend;
     }