emacs-diffs
[Top][All Lists]
Advanced

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

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


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

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

Index: src/w32.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -b -r1.142 -r1.143
--- src/w32.c   24 May 2008 08:38:55 -0000      1.142
+++ src/w32.c   2 Jun 2008 06:09:16 -0000       1.143
@@ -1128,7 +1128,7 @@
          return (lpvalue);
        }
 
-      if (lpvalue) xfree (lpvalue);
+      xfree (lpvalue);
 
       RegCloseKey (hrootkey);
     }
@@ -1145,7 +1145,7 @@
          return (lpvalue);
        }
 
-      if (lpvalue) xfree (lpvalue);
+      xfree (lpvalue);
 
       RegCloseKey (hrootkey);
     }
@@ -1346,7 +1346,7 @@
                /* Also ignore empty environment variables.  */
                || *lpval == 0)
              {
-               if (lpval) xfree (lpval);
+               xfree (lpval);
                lpval = env_vars[i].def_value;
                dwType = REG_EXPAND_SZ;
                dont_free = 1;
@@ -2962,7 +2962,6 @@
 
       get_file_owner_and_group (NULL, name, buf);
     }
-  if (psd)
     xfree (psd);
 
 #if 0




reply via email to

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