mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
small correction to previous patch
This commit is contained in:
@@ -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