diff options
-rw-r--r-- | source/blender/editors/animation/drivers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c index 99e4128ef54..c7c945b492b 100644 --- a/source/blender/editors/animation/drivers.c +++ b/source/blender/editors/animation/drivers.c @@ -635,8 +635,9 @@ void ANIM_driver_vars_copybuf_free(void) { /* Free the driver variables kept in the buffer */ if (driver_vars_copybuf.first) { - /* Free variables (and any data they use) */ DriverVar *dvar, *dvarn; + + /* Free variables (and any data they use) */ for (dvar = driver_vars_copybuf.first; dvar; dvar = dvarn) { dvarn = dvar->next; driver_free_variable(&driver_vars_copybuf, dvar); |