summaryrefslogtreecommitdiff
path: root/games/atomix/files/patch-ab
diff options
context:
space:
mode:
authorYukihiro Nakai <nakai@FreeBSD.org>2000-02-05 13:57:19 +0000
committerYukihiro Nakai <nakai@FreeBSD.org>2000-02-05 13:57:19 +0000
commite310f0cfc8707384da1983dfba0777a2801bed5f (patch)
treef76d65dd095c7b3ba887e764fafccba99c88dcec /games/atomix/files/patch-ab
parentUpdate port to 1.3 (diff)
Add closedir() fix patches.
Submitted by: Brian Fundakowski Feldman green@FreeBSD.org
Notes
Notes: svn path=/head/; revision=25502
Diffstat (limited to 'games/atomix/files/patch-ab')
-rw-r--r--games/atomix/files/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/atomix/files/patch-ab b/games/atomix/files/patch-ab
new file mode 100644
index 000000000000..9fe4fa3c412a
--- /dev/null
+++ b/games/atomix/files/patch-ab
@@ -0,0 +1,15 @@
+--- src/theme.c.orig Sat Feb 5 22:51:13 2000
++++ src/theme.c Sat Feb 5 22:51:36 2000
+@@ -199,10 +199,10 @@
+ g_free(directory);
+ }
+ }
++ g_free(dent);
++ closedir(dir);
+ }
+
+- g_free(dent);
+- closedir(dir);
+ }
+
+ for(i = 0; i < n_dirs; i++) g_free(search_dirs[i]);