diff options
author | Didier Raboud <odyx@debian.org> | 2014-01-02 23:05:18 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2014-01-02 23:05:18 +0100 |
commit | b4db6beca042dcbfd5530ef8c559bfab71a11ade (patch) | |
tree | a2d41ae625d277d3285167fc64b73b58bc010065 /test | |
parent | d13746555c30d1d1bd617dcf64d5b92e319ae2b5 (diff) | |
download | cups-b4db6beca042dcbfd5530ef8c559bfab71a11ade.tar.gz |
Imported Upstream version 1.7.0upstream/1.7.0
Diffstat (limited to 'test')
-rw-r--r-- | test/ippfind.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/ippfind.c b/test/ippfind.c index 7b468537..b57ae889 100644 --- a/test/ippfind.c +++ b/test/ippfind.c @@ -1,5 +1,5 @@ /* - * "$Id: ippfind.c 11100 2013-07-05 15:11:29Z msweet $" + * "$Id: ippfind.c 11177 2013-07-24 12:16:37Z msweet $" * * Utility to find IPP printers via Bonjour/DNS-SD and optionally run * commands such as IPP and Bonjour conformance tests. This tool is @@ -2082,6 +2082,9 @@ exec_program(ippfind_srv_t *service, /* I - Service */ for (i = 0; i < num_args; i ++) free(myargv[i]); + free(myargv); + free(myenvp); + /* * Return whether the program succeeded or crashed... */ @@ -2618,7 +2621,7 @@ resolve_callback( service->is_resolved = 1; service->host = strdup(hostTarget); - service->port = ntohs(port); + service->port = port; /* * Loop through the TXT key/value pairs and add them to an array... @@ -2820,5 +2823,5 @@ show_version(void) /* - * End of "$Id: ippfind.c 11100 2013-07-05 15:11:29Z msweet $". + * End of "$Id: ippfind.c 11177 2013-07-24 12:16:37Z msweet $". */ |