diff options
author | Pablo Barciela <[email protected]> | 2019-08-23 00:47:21 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-08-24 00:22:27 +0200 |
commit | 11f8e4601ffcb9c1c66d599d8cda66bae8f1ced5 (patch) | |
tree | 677a679c9b32b8afdc21282fa4b9cf8e2b1d80d2 /plugin-loaders/python/gedit-plugin-loader-python.h | |
parent | 988d5b7499756bf3fbe3319c3e7197c74c5869d1 (diff) | |
download | pluma-11f8e4601ffcb9c1c66d599d8cda66bae8f1ced5.tar.bz2 pluma-11f8e4601ffcb9c1c66d599d8cda66bae8f1ced5.tar.xz |
smart-converter: Fix memory leaks
Fixes clang analyzer warnings:
smart-converter.c:108:8: warning: Potential leak of memory pointed to by 'out'
if (!care_about_error)
^~~~~~~~~~~~~~~~
smart-converter.c:337:7: warning: Potential leak of memory pointed to by 'aux'
aux2 = do_test (aux, NULL, encs, aux_len, &guessed);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smart-converter.c:339:12: warning: Potential leak of memory pointed to by 'aux2'
g_assert (guessed == pluma_encoding_get_from_charset ("UTF-16"));
^~~~~~~
Diffstat (limited to 'plugin-loaders/python/gedit-plugin-loader-python.h')
0 files changed, 0 insertions, 0 deletions