The documentation for `FT_StreamRec::memory` states that it 'shouldn't be touched by stream implementations'. This is true even for internal implementations of the 'close' callback, since it is not guaranteed that `memory` will even be set when the 'close' callback occurs. * src/base/ftobjs.c (new_memory_stream): stash current `memory` in `stream->descriptor`. (memory_stream_close): Use it.apodtele-master-patch-38950
parent
0d4f887c79
commit
29f83d1dd5
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue