Free the string before converting to a key.
[==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from CCSGNOMEIntegrationTestReadIntegrated [ RUN ] CCSGNOMEIntegrationTestReadIntegrated.TestReadInKeyOption [ OK ] CCSGNOMEIntegrationTestReadIntegrated.TestReadInKeyOption (497 ms) [----------] 1 test from CCSGNOMEIntegrationTestReadIntegrated (508 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (545 ms total) [ PASSED ] 1 test. ==28512== ==28512== HEAP SUMMARY: ==28512== in use at exit: 0 bytes in 0 blocks ==28512== total heap usage: 1,200 allocs, 1,200 frees, 144,800 bytes allocated ==28512== ==28512== All heap blocks were freed -- no leaks are possible ==28512== ==28512== For counts of detected and suppressed errors, rerun with: -v ==28512== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
parent
30a50ea3
Please register or sign in to comment