X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-appctl.c;h=021ac84efd233aadb6b28e8e4ceece7299e0c2da;hb=e819fb476255e0b5f9fccb5e9e07691205e1608b;hp=1302bf2e024439b8f5cdaddb08d39a547d06eace;hpb=fb344b867b96a6d6b9ec32e277cae6db68f2f236;p=openvswitch diff --git a/utilities/ovs-appctl.c b/utilities/ovs-appctl.c index 1302bf2e..021ac84e 100644 --- a/utilities/ovs-appctl.c +++ b/utilities/ovs-appctl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,7 +45,6 @@ main(int argc, char *argv[]) int i; set_program_name(argv[0]); - time_init(); /* Parse command line and connect to target. */ target = parse_command_line(argc, argv); @@ -71,6 +70,10 @@ main(int argc, char *argv[]) } fputs(reply, stdout); + unixctl_client_destroy(client); + free(reply); + ds_destroy(&request); + return 0; }