dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / WMSaveSession.C
index a0348e5ffe5ab2e72dae49e5136f8f795d560137..fcb5d02e47d07dd21eccd16c7b51bdaa071a5d92 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -181,8 +181,7 @@ RoamApp::openSessionFile(char *filename)
 
     LOG_FPRINTF(log, (log,"Opened session file: %s\n",pathname));
     LOG_CLOSEFILEPTR(log);
-    if (pathname != NULL)
-      XtFree((char *)pathname);
+    XtFree((char *)pathname);
 }
 
 /*