diff options
Diffstat (limited to 'test/ssl_decoder_test.cpp')
| -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); |
