dia r4235 - in trunk: . objects/SISSI



Author: hans
Date: Fri Jan 30 17:35:51 2009
New Revision: 4235
URL: http://svn.gnome.org/viewvc/dia?rev=4235&view=rev

Log:
2009-01-30  Hans Breuer  <hans breuer org>

	* objects/SISSI/area.c objects/SISSI/faraday.c objects/SISSI/room.c
	  objects/SISSI/sissi_object.c objects/SISSI/site.c : quite some 
	allocation/deallocation mismatch removed, fixes bug #569725


Modified:
   trunk/ChangeLog
   trunk/objects/SISSI/area.c
   trunk/objects/SISSI/faraday.c
   trunk/objects/SISSI/room.c
   trunk/objects/SISSI/sissi_object.c
   trunk/objects/SISSI/site.c

Modified: trunk/objects/SISSI/area.c
==============================================================================
--- trunk/objects/SISSI/area.c	(original)
+++ trunk/objects/SISSI/area.c	Fri Jan 30 17:35:51 2009
@@ -242,8 +242,6 @@
 	composite = data_next(composite);
 	}
 }
-/* free (filename);end of XML reading */
-
   
   action_font = dia_font_new_from_style(TEXT_FONT,TEXT_FONT_HEIGHT); 
    object_sissi->text = new_text("",action_font, TEXT_FONT_HEIGHT, &pos, &color_black, ALIGN_LEFT);

Modified: trunk/objects/SISSI/faraday.c
==============================================================================
--- trunk/objects/SISSI/faraday.c	(original)
+++ trunk/objects/SISSI/faraday.c	Fri Jan 30 17:35:51 2009
@@ -242,8 +242,6 @@
 	composite = data_next(composite);
 	}
 }
-	/* free (filename);end of XML reading */
-
 
   action_font = dia_font_new_from_style(TEXT_FONT,TEXT_FONT_HEIGHT); 
   object_sissi->text = new_text("",action_font, TEXT_FONT_HEIGHT, &pos, &color_black, ALIGN_LEFT);

Modified: trunk/objects/SISSI/room.c
==============================================================================
--- trunk/objects/SISSI/room.c	(original)
+++ trunk/objects/SISSI/room.c	Fri Jan 30 17:35:51 2009
@@ -242,7 +242,6 @@
     composite = data_next(composite);
   }
 }
-/* free (filename);end of XML reading */
 
   object_sissi->nb_others_fixes=9;
   object_sissi_update_data(object_sissi, ANCHOR_MIDDLE, ANCHOR_MIDDLE);

Modified: trunk/objects/SISSI/sissi_object.c
==============================================================================
--- trunk/objects/SISSI/sissi_object.c	(original)
+++ trunk/objects/SISSI/sissi_object.c	Fri Jan 30 17:35:51 2009
@@ -277,8 +277,6 @@
       object_sissi->url_docs = g_list_append(object_sissi->url_docs, url_doc);
       composite = data_next(composite);
     }
-    free (filename);
-	
     /* end of XML reading */
 	
   if (object_sissi->file) {

Modified: trunk/objects/SISSI/site.c
==============================================================================
--- trunk/objects/SISSI/site.c	(original)
+++ trunk/objects/SISSI/site.c	Fri Jan 30 17:35:51 2009
@@ -245,9 +245,6 @@
 	composite = data_next(composite);
 	}
 }
-	/* free (filename);end of XML reading */
-
-
 
   action_font = dia_font_new_from_style(TEXT_FONT,TEXT_FONT_HEIGHT); 
   object_sissi->text = new_text("",action_font, TEXT_FONT_HEIGHT, &pos, &color_black, ALIGN_LEFT);



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