Alembic: fixed memory leak

This commit is contained in:
Sybren A. Stüvel 2017-04-21 12:28:49 +02:00
parent 099816587a
commit 45b9ee525d

@ -143,7 +143,7 @@ static int cachefile_reload_exec(bContext *C, wmOperator *op)
Main *bmain = CTX_data_main(C);
BLI_listbase_clear(&cache_file->object_paths);
BLI_freelistN(&cache_file->object_paths);
BKE_cachefile_reload(bmain, cache_file);
return OPERATOR_FINISHED;