From 766f76796b9b836d68f0cbee8e9539371cb01c51 Mon Sep 17 00:00:00 2001 From: Dongju Chae Date: Wed, 11 Dec 2019 10:15:27 +0900 Subject: [PATCH] [FIX] Add a missing g_clear_error() in unittest_sink.cpp This commit adds a missing g_clear_error() in unittest_sink.cpp. Signed-off-by: Dongju Chae --- tests/nnstreamer_sink/unittest_sink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/nnstreamer_sink/unittest_sink.cpp b/tests/nnstreamer_sink/unittest_sink.cpp index 7ac60f3..f5b6d1e 100644 --- a/tests/nnstreamer_sink/unittest_sink.cpp +++ b/tests/nnstreamer_sink/unittest_sink.cpp @@ -4809,6 +4809,7 @@ main (int argc, char **argv) if (!g_option_context_parse (optionctx, &argc, &argv, &error)) { g_print ("option parsing failed: %s\n", error->message); + g_clear_error (&error); } if (jitter_cmd_arg != NULL) { -- 2.7.4