[Gpredict-svn] SF.net SVN: gpredict:[945] trunk/src/gtk-polar-view.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <aa...@us...> - 2011-11-05 20:35:16
|
Revision: 945
http://gpredict.svn.sourceforge.net/gpredict/?rev=945&view=rev
Author: aa1vs
Date: 2011-11-05 20:35:09 +0000 (Sat, 05 Nov 2011)
Log Message:
-----------
Remove memory leak.
Modified Paths:
--------------
trunk/src/gtk-polar-view.c
Modified: trunk/src/gtk-polar-view.c
===================================================================
--- trunk/src/gtk-polar-view.c 2011-11-03 12:27:21 UTC (rev 944)
+++ trunk/src/gtk-polar-view.c 2011-11-05 20:35:09 UTC (rev 945)
@@ -845,7 +845,7 @@
}
/* free pass info */
- //free_pass (obj->pass);
+ free_pass (obj->pass);
obj->pass=NULL;
/* if this was the selected satellite we need to
@@ -855,7 +855,7 @@
g_object_set (polv->sel, "text", "", NULL);
}
- // g_free (obj);
+ g_free (obj);
/* remove sat object from hash table */
g_hash_table_remove (polv->obj, catnum);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|