diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-20 10:09:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-20 10:09:05 +0300 |
commit | 973afa0172a66b3d0921ec1d6fd28c6acc6afdbf (patch) | |
tree | 2fd861fc8687779360efcc4f6cf320df327e96a2 /source/blender/render/intern | |
parent | f6c661a38f93500523e617b194ed350346d1830d (diff) |
Cleanup: use listbase clear
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 9444d3ef3c6..1fa2673f12c 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -2205,7 +2205,7 @@ static void free_all_freestyle_renders(void) /* detach the window manager from freestyle bmain (see comments * in add_freestyle() for more detail) */ - re1->freestyle_bmain->wm.first = re1->freestyle_bmain->wm.last = NULL; + BLI_listbase_clear(&re1->freestyle_bmain->wm); BKE_main_free(re1->freestyle_bmain); re1->freestyle_bmain = NULL; |