Blender Git Commit Log
Git Commits -> Revision 292444e
Revision 292444e by Bastien Montagne (master) February 4, 2015, 14:40 (GMT) |
RNA image.pack(): fix possible memleak, add possibility to pass raw bytes data. Note passing data assumes user knows what he is doing, else segfault is guaranted (there is no good ways to pass raw bytes data to RNA func currently, and using int array is way too heavy in this case). And image->packedfile was never freed... |
Commit Details:
Full Hash: 292444e3f5c2c1df45a949cca0a0be430a5ba57c
Parent Commit: fe03bc2
Lines Changed: +14, -1
1 Modified Path:
/source/blender/makesrna/intern/rna_image_api.c (+14, -1) (Diff)