@@ -461,7 +461,6 @@ NETCUPS_freeDestination( self )
/* If we use the following function, then we will get errors */
/* about double frees. */
/*cupsFreeDests( 1, self ); */
- free( self->name );
if( self->instance )
free( self->instance );
cupsFreeOptions( self->num_options, self->options );
@@ -1,5 +1,10 @@
Revision history for Perl extension Net::CUPS.
+0.60 Thu Jul 30 08:28:18 2009
+ - Graham Jenkins <graham@vpac.org> reported additional issues
+ with the cleanup in the DESTROY method. Tweaked it to avoid
+ double free issues.
+
0.59 Wed Sep 3 13:56:12 2008
- I really removed the test this time.
@@ -34,7 +34,7 @@ the module had to be coded to handle various variables and functions.
COPYRIGHT AND LICENSE
Copyright (C) 2003-2005 D. Hageman <dhageman@dracken.com>
-Copyright (C) 2006-2008 Dracken Technology, Inc. (http://www.dracken.com/)
+Copyright (C) 2006-2009 Dracken Technology, Inc. (http://www.dracken.com/)
SPECIAL THANKS
@@ -961,7 +961,7 @@ our @EXPORT = qw(
PPD_VERSION
);
-our $VERSION = '0.59';
+our $VERSION = '0.60';
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -1294,7 +1294,7 @@ Dracken Technology, Inc. (http://www.dracken.com/)
Copyright (c) 2003-2005 David Hageman
-Copyright (c) 2006-2007 Dracken Technology, Inc.
+Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
@@ -961,7 +961,7 @@ our @EXPORT = qw(
PPD_VERSION
);
-our $VERSION = '0.59';
+our $VERSION = '0.60';
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -1172,7 +1172,7 @@ Dracken Technology, Inc. (http://www.dracken.com/)
Copyright (c) 2003-2005 David Hageman
-Copyright (c) 2006-2007 Dracken Technology, Inc.
+Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
@@ -964,7 +964,7 @@ our @EXPORT = qw(
PPD_VERSION
);
-our $VERSION = '0.59';
+our $VERSION = '0.60';
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -1219,7 +1219,7 @@ Dracken Technology, Inc. (http://www.dracken.com/)
Copyright (c) 2003-2005 David Hageman
-Copyright (c) 2006-2007 Dracken Technology, Inc.
+Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
@@ -959,7 +959,7 @@ our @EXPORT = qw(
PPD_VERSION
);
-our $VERSION = '0.59';
+our $VERSION = '0.60';
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -1350,7 +1350,7 @@ destination creation and destination deletion.
Copyright (c) 2003-2005 David Hageman
-Copyright (c) 2006-2007 Dracken Technology, Inc.
+Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.