mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
small correction to previous patch
This commit is contained in:
1 parent
0fd531df43
commit
b37b0fd9f1
1 file changed
+2
-2
+2
-2
@@ -257,8 +257,8 @@ WMGetSubdataWithRange(WMData *aData, WMRange aRange) /*FOLD00*/
|
||||
|
||||
buffer = wmalloc(aRange.count);
|
||||
WMGetDataBytesWithRange(aData, buffer, aRange);
|
||||
newData = WMCreateDataWithBytesNoCopy(buffer, aRange.count, wfree);
|
||||
//newData->freeData = 1;
|
||||
newData = WMCreateDataWithBytesNoCopy(buffer, aRange.count, NULL);
|
||||
newData->freeData = 1;
|
||||
newData->format = aData->format;
|
||||
|
||||
return newData;
|
||||
|
||||
Reference in new issue
Block a user