]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: fix memory leak in test-keymap-util
authorEvgeny Vereshchagin <evvers@ya.ru>
Sun, 19 Jun 2016 15:02:51 +0000 (15:02 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sun, 19 Jun 2016 15:04:52 +0000 (15:04 +0000)
commitb774852ae6442eb50ca6e098d19d486cbcc82a12
treee1110d1a764d6ad4fd50a5a7ee9650d08950f08d
parent222953e87f34545a3f9c6d3c18216e222bf6ea94
tests: fix memory leak in test-keymap-util

Fixes:
==27917== 3 bytes in 1 blocks are definitely lost in loss record 1 of 1
==27917==    at 0x4C28BF6: malloc (vg_replace_malloc.c:299)
==27917==    by 0x55083D9: strdup (in /usr/lib64/libc-2.22.so)
==27917==    by 0x1140DA: find_converted_keymap (keymap-util.c:524)
==27917==    by 0x110844: test_find_converted_keymap (test-keymap-util.c:52)
==27917==    by 0x1124FE: main (test-keymap-util.c:213)
==27917==
src/locale/test-keymap-util.c