diff options
Diffstat (limited to 'test/run_input.cxx')
-rw-r--r-- | test/run_input.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/run_input.cxx b/test/run_input.cxx index b215eefea..db3e4dc80 100644 --- a/test/run_input.cxx +++ b/test/run_input.cxx @@ -149,8 +149,8 @@ int main(int argc, char **argv) /* open the stream and dump it */ - GMutex *mutex = g_mutex_new(); - GCond *cond = g_cond_new(); + Mutex mutex; + Cond cond; is = input_stream_open(argv[1], mutex, cond, &error); if (is != NULL) { @@ -165,9 +165,6 @@ int main(int argc, char **argv) ret = 2; } - g_cond_free(cond); - g_mutex_free(mutex); - /* deinitialize everything */ input_stream_global_finish(); |