• Guido Casati's avatar
    Fix memory leak in nr-uesoftmodem · b1609e05
    Guido Casati authored
    * strdup is returning a malloced string that needs to freed after use
    
    > Direct leak of 90 byte(s) in 1 object(s) allocated from:
        >0 0x7ffff745b9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
        >1 0x555556c7b341 in main /executables/nr-uesoftmodem.c:461
        >2 0x7ffff5e29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    b1609e05
nr-uesoftmodem.c 20.7 KB