qtmobility/plugins/multimedia/directshow/player/directshowmediatype.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
--- a/qtmobility/plugins/multimedia/directshow/player/directshowmediatype.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/plugins/multimedia/directshow/player/directshowmediatype.h	Mon May 03 13:18:40 2010 +0300
@@ -54,9 +54,9 @@
     DirectShowMediaType(const AM_MEDIA_TYPE &type) { copy(this, type); }
     DirectShowMediaType(const DirectShowMediaType &other) { copy(this, other); }
     DirectShowMediaType &operator =(const AM_MEDIA_TYPE &type) {
-        free(this); copy(this, type); return *this; }
+        freeData(this); copy(this, type); return *this; }
     DirectShowMediaType &operator =(const DirectShowMediaType &other) {
-        free(this); copy(this, other); return *this; }
+        freeData(this); copy(this, other); return *this; }
     ~DirectShowMediaType() { freeData(this); }
 
     void clear() { freeData(this); memset(this, 0, sizeof(DirectShowMediaType)); }