aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cdparanoia
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2006-01-07 21:34:49 +0800
committermarkus <markus@FreeBSD.org>2006-01-07 21:34:49 +0800
commita1171f476f1da400fe388afbfdb6b33c89b417de (patch)
treed63cd011a754d3381e7576f9168ecabbafe0d88c /audio/cdparanoia
parentb4aeea8e0e08368a71f8216a603f3d5ef2f083a0 (diff)
downloadfreebsd-ports-gnome-a1171f476f1da400fe388afbfdb6b33c89b417de.tar.gz
freebsd-ports-gnome-a1171f476f1da400fe388afbfdb6b33c89b417de.tar.zst
freebsd-ports-gnome-a1171f476f1da400fe388afbfdb6b33c89b417de.zip
Fix potential mini-memleak
Diffstat (limited to 'audio/cdparanoia')
-rw-r--r--audio/cdparanoia/files/patch-interface-interface.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/audio/cdparanoia/files/patch-interface-interface.c b/audio/cdparanoia/files/patch-interface-interface.c
index f1f4cdf72a23..99e7372081e7 100644
--- a/audio/cdparanoia/files/patch-interface-interface.c
+++ b/audio/cdparanoia/files/patch-interface-interface.c
@@ -1,17 +1,10 @@
-Index: interface/interface.c
-===================================================================
-RCS file: /home/cvs/cdparanoia/interface/interface.c,v
-retrieving revision 1.1.1.1
-retrieving revision 1.3
-diff -u -r1.1.1.1 -r1.3
---- interface/interface.c 2003/01/05 09:46:26 1.1.1.1
-+++ interface/interface.c 2003/01/06 21:26:23 1.3
-@@ -29,12 +29,25 @@
- d->enable_cdda(d,0);
+--- interface/interface.c.orig Thu Apr 20 00:41:04 2000
++++ interface/interface.c Sat Jan 7 14:31:19 2006
+@@ -30,11 +30,24 @@
_clean_messages(d);
-+#ifdef Linux
if(d->cdda_device_name)free(d->cdda_device_name);
++#ifdef Linux
if(d->ioctl_device_name)free(d->ioctl_device_name);
if(d->drive_model)free(d->drive_model);
if(d->cdda_fd!=-1)close(d->cdda_fd);