From ee113966bc8feb912c1003b262f99eb07894aeed Mon Sep 17 00:00:00 2001 From: Quipyowert2 Date: Thu, 22 Aug 2019 11:42:33 +0200 Subject: End the va_list before returning from _synctex_merge_strings This adds a va_end() call to _synctex_merge_strings in two places where it would return without ending the va_list first. https://github.com/jlaurens/synctex/commit/44b860175da10d08830b551f59592e548fe19718 --- cut-n-paste/synctex/synctex_parser_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cut-n-paste') diff --git a/cut-n-paste/synctex/synctex_parser_utils.c b/cut-n-paste/synctex/synctex_parser_utils.c index c4f200d8..cc59530c 100644 --- a/cut-n-paste/synctex/synctex_parser_utils.c +++ b/cut-n-paste/synctex/synctex_parser_utils.c @@ -351,6 +351,7 @@ char * _synctex_merge_strings(const char * first,...) { size_t len = strlen(temp); if(UINT_MAX-len