Blender Git Commit Log
Git Commits -> Revision 0187a5f
Revision 0187a5f by Bastien Montagne (master) March 1, 2016, 10:44 (GMT) |
Py (addons) i18n: fix memleak, enhance msgid lookup. Probably did not happen yet (since nobody uses addons translations...), but there was an nice memleak during creation of translation ghash in case a same msgid/msgctx would be added more than once. Also, no need to allocate (and free) a temp key each time we lookup a msgid, we can use given const strings directly here! |
Commit Details:
Full Hash: 0187a5f29223ddc813c84a7f97bc6d26f109552c
Parent Commit: 8f14baa
Lines Changed: +7, -12
1 Modified Path:
/source/blender/python/intern/bpy_app_translations.c (+7, -12) (Diff)