gimp/tools
Jehan 99202c43a4 tools: win32_command() return value is never freed.
On Windows, the macros COPY, REMOVE and REMOVE_DIR are allocated
strings, unlike on other platforms, so the way we use these returned
values, they are never freed.
Instead make win32_command() keep a copy of the allocated string as
static to the function and free it there at each next call (the returned
value being type-casted to (const gchar *)). It will still leak the last
string, but anyway gimptool is short-lived.

Also it should silence static analyzers.
2021-10-21 12:31:55 +02:00
..
.gitignore desktop, plug-ins, tools: update various .gitignore. 2019-08-07 19:20:52 +02:00
Makefile.am tools: update the build-only tool compute-svg-viewbox. 2020-08-28 20:25:40 +02:00
compute-svg-viewbox.c tools: update the build-only tool compute-svg-viewbox. 2020-08-28 20:25:40 +02:00
defcheck.py tools: port defcheck.py to Python 3. 2019-07-28 23:19:05 +02:00
extract-vector-icon.sh tools: update the build-only tool compute-svg-viewbox. 2020-08-28 20:25:40 +02:00
generate-news tools/generate-news Add a script to generate a NEWS file template 2015-05-02 14:29:39 -04:00
generate_changelog.sh Meson port. 2019-09-11 16:42:04 +02:00
gimp-debug-resume.c tools, fix implicit declaration of function atoi warning 2019-12-11 21:59:11 +01:00
gimp-mkenums tools: fix perl warning about unescaped left brace in gimp-mkenums 2019-01-03 15:22:43 +01:00
gimp-test-clipboard.c Fix various typos 2019-09-21 17:10:46 +00:00
gimppath2svg.py Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptool.c tools: win32_command() return value is never freed. 2021-10-21 12:31:55 +02:00
kernelgen.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build Meson port. 2019-09-11 16:42:04 +02:00
meson_install_subdir.py tools: improve the install-* meson targets. 2019-09-15 00:00:35 +02:00
mnemonic-clashes tools: add mnemonic-clashes tool 2019-09-12 17:56:45 +03:00
module-dependencies.py Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
performance-log-close-tags.py tools: add performance-log-close-tags.py, use in performance-log-viewer 2020-07-30 01:03:38 +03:00
performance-log-coalesce.py tools: add performance-log-coalesce.py; use in performance-log-viewer 2018-10-10 15:32:14 -04:00
performance-log-deduce.py tools: add performance-log-deduce.py 2018-09-16 11:58:38 -04:00
performance-log-expand.py tools: in performance-log-expand.py, preserve threads with empty stacks 2018-11-07 14:26:16 -05:00
performance-log-progressive-coalesce.py tools: add performance-log-progressive-coalesce.py; use in performance-log-viewer 2020-07-30 01:04:40 +03:00
performance-log-resolve.py tools: add performance-log-related tools 2018-09-02 03:12:09 -04:00
performance-log-viewer tools: add performance-log-progressive-coalesce.py; use in performance-log-viewer 2020-07-30 01:04:40 +03:00
performance-log-viewer.py tools: in performance-log-viewer.py, handle markers with > INT_MAX timestamps 2020-03-06 12:37:06 +02:00