Skip to content

Fix GOptionContext leak in tvp-git-helper main

Leak report

Direct leak of 88 byte(s) in 1 object(s) allocated from:
    #0 0x747e4dcfd1aa in calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x747e4b2b9561 in g_malloc0 glib/gmem.c:133
    #2 0x747e4b2d3410 in g_option_context_new glib/goption.c:208
    #3 0x603b2cdc7d1f in main thunar-vcs-plugin/tvp-git-helper/main.c:148

Testing

  • No issues were detected when testing the patch with UBSan, LSan, and ASan

Merge request reports

Loading