]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/dest.c
Import CUPS v2.0.3
[thirdparty/cups.git] / cups / dest.c
index 9e88aede6cccbec7e006ba415ff5fea9d822dccd..384105ffbe1bedbc7fb58c45cb9a636c96ed8d81 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * "$Id: dest.c 12094 2014-08-19 12:15:11Z msweet $"
+ * "$Id: dest.c 12665 2015-05-25 15:08:55Z msweet $"
  *
  * User-defined destination (and option) support for CUPS.
  *
- * Copyright 2007-2014 by Apple Inc.
+ * Copyright 2007-2015 by Apple Inc.
  * Copyright 1997-2007 by Easy Software Products.
  *
  * These coded instructions, statements, and computer programs are the
@@ -657,6 +657,7 @@ cupsConnectDest(
 
   http = httpConnect2(hostname, port, addrlist, AF_UNSPEC, encryption, 1, 0,
                       NULL);
+  httpAddrFreeList(addrlist);
 
  /*
   * Connect if requested...
@@ -3942,5 +3943,5 @@ cups_make_string(
 
 
 /*
- * End of "$Id: dest.c 12094 2014-08-19 12:15:11Z msweet $".
+ * End of "$Id: dest.c 12665 2015-05-25 15:08:55Z msweet $".
  */