Blender Git Loki

Git Commits -> Revision 8a02dc1

Revision 8a02dc1 by Ton Roosendaal (master)
April 17, 2005, 15:50 (GMT)
Patch provided by Andrea Weikert (elubie):

With a few tests I have discovered that when quitting Blender the filelist
in SpaceFile doesn't get free'd.

storage.c:
I have replaced strdup for the relname member in BLI_builddir with BLI_strdup.
and malloc with MEM_mallocN for the string member in BLI_addstrings().

filesel.c:
Of course also had to replace free with MEM_freeN in freefilelist().

In freespacelist (space.c) I added call to freefilelist for the SPACE_FILE
space type.

Commit Details:

Full Hash: 8a02dc11decda40e67bf95a109645e8df4d80b7e
SVN Revision: 4263
Parent Commit: f919cf7
Lines Changed: +8, -6

3 Modified Paths:

/source/blender/blenlib/intern/storage.c (+4, -4) (Diff)
/source/blender/src/filesel.c (+2, -2) (Diff)
/source/blender/src/space.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021