stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus/src/stratagus pud.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/stratagus pud.c
Date: 30 Jan 2004 08:17:52 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/30 08:17:52

Modified files:
        src/stratagus  : pud.c 

Log message:
        Fixed Crash where info->Filename is not allocated for a pud's info

Patches:
Index: stratagus/src/stratagus/pud.c
diff -u stratagus/src/stratagus/pud.c:1.112 stratagus/src/stratagus/pud.c:1.113
--- stratagus/src/stratagus/pud.c:1.112 Sat Dec 20 16:33:19 2003
+++ stratagus/src/stratagus/pud.c       Fri Jan 30 08:17:51 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: pud.c,v 1.112 2003/12/20 05:33:19 jsalmon3 Exp $
+//     $Id: pud.c,v 1.113 2004/01/29 21:17:51 wizzard Exp $
 
 //@{
 
@@ -389,6 +389,8 @@
        if (!info) {
                return NULL;
        }
+
+       info->Filename = strdup(pud);
 
        //
        //              Parse all sections.




reply via email to

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