about summary refs log tree commit diff stats
path: root/tests/unittests/test_preferences.h
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2020-04-14 03:24:02 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2020-04-14 03:26:49 +0300
commitb3eea1312575d4ab4a52f6860940164f7cb1dceb (patch)
tree2933f41b753d95c7d4d5d0f25a398ec9deee8591 /tests/unittests/test_preferences.h
parenta42c2a113425959076557a69e129b210c9fd64c8 (diff)
downloadprofani-tty-b3eea1312575d4ab4a52f6860940164f7cb1dceb.tar.gz
Free GError objects
glib functions can allocate a GError object that must be freed with
g_error_free(). Otherwise a memory leak happens.

There are similar unfixed places in omemo, check:
    grep "&error" src/omemo/omemo.c

Fixes #1304.
Diffstat (limited to 'tests/unittests/test_preferences.h')
0 files changed, 0 insertions, 0 deletions