]> Shamusworld >> Repos - rln/commitdiff
Fix for crash on Win32.
authorShamus Hammons <jlhamm@acm.org>
Wed, 24 Dec 2014 18:42:17 +0000 (12:42 -0600)
committerShamus Hammons <jlhamm@acm.org>
Wed, 24 Dec 2014 18:42:17 +0000 (12:42 -0600)
Need to address the underlying problem, for now this is just a quick fix.

rln.c
rln.h

diff --git a/rln.c b/rln.c
index 1a44617110261f04f0cb0f784472db4e489afece..6ab46eecb592d9a2328ab72e8367fdcd397a11c4 100644 (file)
--- a/rln.c
+++ b/rln.c
@@ -1545,7 +1545,7 @@ struct OHEADER * make_ofile()
                                if (!ohold->isArchiveFile)
                                        free(ohold->o_image);
 
                                if (!ohold->isArchiveFile)
                                        free(ohold->o_image);
 
-                               free(ohold);
+//                             free(ohold);
 
                                // Also need to remove them from the obj_* tables too :-P
                                // N.B.: Would probably be worthwhile to remove crap like this
 
                                // Also need to remove them from the obj_* tables too :-P
                                // N.B.: Would probably be worthwhile to remove crap like this
diff --git a/rln.h b/rln.h
index c542202db3701d4049e7554b2b027cce7fc42bbc..74d4d2f11248efd2f2a7ec314e634a11c36f1c56 100644 (file)
--- a/rln.h
+++ b/rln.h
@@ -52,7 +52,7 @@
 
 #define MAJOR   1                      // Major version number
 #define MINOR   3                      // Minor version number
 
 #define MAJOR   1                      // Major version number
 #define MINOR   3                      // Minor version number
-#define PATCH   1                      // Patch release number
+#define PATCH   2                      // Patch release number
 
 #ifdef WIN32
 #define PLATFORM     "Win32"           // Release platform - Windows
 
 #ifdef WIN32
 #define PLATFORM     "Win32"           // Release platform - Windows