Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37894055
en ru br
ALT Linux repos
S:2.3.8-alt1
5.0: 2.2.3-alt3.2
4.1: 2.2.3-alt3.1
4.0: 2.2.3-alt3.1
3.0: 2.2.3-alt2

Group :: System/Libraries
RPM: openmotif

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: openMotif-2.2.3-motifzone_1193.patch
Download


--- openMotif-2.2.3/clients/mwm/WmXSMP.c.1193	2005-02-28 14:58:53.168896287 +0100
+++ openMotif-2.2.3/clients/mwm/WmXSMP.c	2005-02-28 15:00:02.460388707 +0100
@@ -446,10 +446,14 @@
 static void
 freeNewRestartCmd(char **restartCmd)
 {
-    while (*restartCmd != (char *)NULL)
-	XtFree(*(restartCmd++));
+    if(restartCmd)
+    {
+        char **tmp = restartCmd;
+	while (*restartCmd != (char *)NULL)
+	    XtFree(*(restartCmd++));
 
-    XtFree((char *)restartCmd);
+	XtFree((char *)restartCmd);
+    }
 }
 
 #endif /* ! WSM */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin