]> code.delx.au - gnu-emacs/blobdiff - src/xsmfns.c
(Fmake_terminal_frame): Raise an error when called from
[gnu-emacs] / src / xsmfns.c
index 538698a2782b9f7a1da8a4603791020e4417be2e..ecbf2596e019712d49a00d08c57854bf06afd1b7 100644 (file)
@@ -262,8 +262,7 @@ smc_save_yourself_CB (smcConn,
 
   xfree (smid_opt);
 
-  if (cwd)
-    free (cwd);
+  free (cwd);
 
   /* See if we maybe shall interact with the user.  */
   if (interactStyle != SmInteractStyleAny