From bb35c040aa093ab1f07a31d323a25e89c34b230e Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 28 May 2022 10:38:30 +0300 Subject: [PATCH 45/45] tilespec.c: Free layer_order str_vec See osdn #44682 Signed-off-by: Marko Lindqvist --- client/tilespec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/tilespec.c b/client/tilespec.c index 34bf552a83..09c6127710 100644 --- a/client/tilespec.c +++ b/client/tilespec.c @@ -2222,6 +2222,8 @@ static struct tileset *tileset_read_toplevel(const char *tileset_name, goto ON_ERROR; } } + + free(layer_order); } else { /* There is no layer_order tag in the specfile -> use the default */ for (i = 0; i < LAYER_COUNT; i++) { -- 2.35.1