X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=tests%2Ftest-netflow.c;h=47d0f201cfbbd70c4c8266edd790a76d3acf8af8;hb=d0a46cb4608e632f5028034762f0adde2ce947a0;hp=631d7a21e52c3510fc1071174fbc353712c934dc;hpb=40cb2c3229a586cbc3c9792efe2a81f62dc52d95;p=cascardo%2Fovs.git diff --git a/tests/test-netflow.c b/tests/test-netflow.c index 631d7a21e..47d0f201c 100644 --- a/tests/test-netflow.c +++ b/tests/test-netflow.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012, 2013, 2014 Nicira, Inc. + * Copyright (c) 2011, 2012, 2013, 2014, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -195,7 +195,7 @@ test_netflow_main(int argc, char *argv[]) } daemon_save_fd(STDOUT_FILENO); - daemonize_start(); + daemonize_start(false); error = unixctl_server_create(NULL, &server); if (error) { @@ -233,6 +233,9 @@ test_netflow_main(int argc, char *argv[]) unixctl_server_wait(server); poll_block(); } + + ofpbuf_uninit(&buf); + unixctl_server_destroy(server); } static void