From 9fe0505db00f450333518238db6813ede046f45e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 5 Apr 2020 13:53:24 +1000 Subject: Cleanup: macro hygiene, parenthesize arguments --- source/blender/blenlib/BLI_link_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/BLI_link_utils.h b/source/blender/blenlib/BLI_link_utils.h index f37841e3192..c0db53ca9a3 100644 --- a/source/blender/blenlib/BLI_link_utils.h +++ b/source/blender/blenlib/BLI_link_utils.h @@ -61,7 +61,7 @@ #define BLI_LINKS_FREE(list) \ { \ while (list) { \ - void *next = list->next; \ + void *next = (list)->next; \ MEM_freeN(list); \ list = next; \ } \ -- cgit v1.2.3