diff options
| author | liuxueli <[email protected]> | 2024-08-26 07:27:28 +0000 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2024-08-26 07:27:28 +0000 |
| commit | 08244ecbdabcbae6e610f47111daad7f4265d362 (patch) | |
| tree | e8344a5bc6f4a645df3cd615c5df7cfc95f4ab8e /test | |
| parent | 2963165b5e981bbfe799efe815e49ed4d0f4aff9 (diff) | |
Feature: add gtest case
Diffstat (limited to 'test')
| -rw-r--r-- | test/ssl_decoder_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ssl_decoder_test.cpp b/test/ssl_decoder_test.cpp index 3d46528..bdaf91c 100644 --- a/test/ssl_decoder_test.cpp +++ b/test/ssl_decoder_test.cpp @@ -367,6 +367,11 @@ int32_t ssl_decoder_test_config_load(const char *cfg_path, struct ssl_decoder_te plugin_env->commit_result_enable=1; fprintf(stderr, "[%s:%d] config file: %s key: [decoder.ssl.test.commit_result_enable] value is not yes or no", __FUNCTION__, __LINE__, cfg_path); } + + if(commit_result_enable_val.u.s!=NULL) + { + free(commit_result_enable_val.u.s); + } } toml_free(root); |
