Get rid of unneeded
authorDenis Kenzior <denkenz@gmail.com>
Mon, 13 Jul 2009 18:07:30 +0000 (13:07 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 14 Jul 2009 20:45:05 +0000 (15:45 -0500)
src/sim.c

index ffce13e..3e50ceb 100644 (file)
--- a/src/sim.c
+++ b/src/sim.c
@@ -74,11 +74,6 @@ struct sim_manager_data {
        int opl_num;
        int opl_size;
        int opl_current;
-
-       struct pnn_operator *pnn;
-       int pnn_num;
-       int pnn_size;
-       int pnn_current;
 };
 
 static char **get_own_numbers(GSList *own_numbers)
@@ -147,18 +142,6 @@ static void sim_manager_destroy(gpointer userdata)
                g_slist_free(data->opl);
                data->opl = NULL;
        }
-
-       if (data->pnn) {
-               for (i = 0; i < data->pnn_num; i ++) {
-                       if (data->pnn[i].longname)
-                               g_free(data->pnn[i].longname);
-                       if (data->pnn[i].shortname)
-                               g_free(data->pnn[i].shortname);
-               }
-               g_free(data->pnn);
-               data->pnn = NULL;
-               data->pnn_num = 0;
-       }
 }
 
 static DBusMessage *sim_get_properties(DBusConnection *conn,