emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xrdb.c,v


From: Jim Meyering
Subject: [Emacs-diffs] Changes to emacs/src/xrdb.c,v
Date: Mon, 02 Jun 2008 06:01:04 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Jim Meyering <meyering> 08/06/02 06:00:54

Index: src/xrdb.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xrdb.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- src/xrdb.c  14 May 2008 07:50:24 -0000      1.64
+++ src/xrdb.c  2 Jun 2008 06:00:54 -0000       1.65
@@ -431,12 +431,10 @@
     {
       XrmDatabase db = XrmGetFileDatabase (file);
       free (file);
-      if (free_it)
        free (free_it);
       return db;
     }
 
-  if (free_it)
     free (free_it);
   return NULL;
 }
@@ -504,8 +502,8 @@
 
   db = XrmGetFileDatabase (p);
 
-  if (path) free (path);
-  if (home) free (home);
+  free (path);
+  free (home);
 
   return db;
 }
@@ -612,7 +610,6 @@
 
   /* Figure out what the "customization string" is, so we can use it
      to decode paths.  */
-  if (x_customization_string)
     free (x_customization_string);
   x_customization_string
     = x_get_customization_string (user_database, myname, myclass);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]