From 2a204640bddfc3c9f8b557c80c1db729e0560322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Tue, 12 Mar 2019 19:02:34 +0100 Subject: [PATCH] Add warning to probably misunderstandable function --- command-line.c | 1 + 1 file changed, 1 insertion(+) diff --git a/command-line.c b/command-line.c index e163d64..0dc302f 100644 --- a/command-line.c +++ b/command-line.c @@ -42,6 +42,7 @@ * * Like delete_layer_info_struct() but also frees layer_info::name * @param info + * @warning This function must not be used if the layer_info::name field references the internal storage strings if e.g. an entry field */ static void delete_layer_info_with_name(struct layer_info *info) {