Prevent issues fix 65/21365/1
authorkamesh relangi <kamesh.r@samsung.com>
Thu, 24 Apr 2014 07:27:25 +0000 (12:57 +0530)
committerDongchul Lim <dc7.lim@samsung.com>
Mon, 19 May 2014 10:05:23 +0000 (19:05 +0900)
Change-Id: If95a995718d7ca7d18d5fcd65b02234bf22abef0

src/desc-vconf.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f32379c..800e4aa
@@ -834,13 +834,12 @@ static gboolean on_load()
 static gboolean on_init(TcorePlugin *plugin)
 {
        Server *server;
-       TcoreStorage *strg;
        GSList *list;
        tcore_check_return_value_assert(plugin != NULL, FALSE);
 
        dbg("i'm init!");
 
-       strg = tcore_storage_new(plugin, "vconf", &ops);
+       tcore_storage_new(plugin, "vconf", &ops);
 
        reset_vconf();
 
@@ -878,7 +877,7 @@ static void on_unload(TcorePlugin *plugin)
        tcore_server_remove_notification_hook(server, on_hook_modem_plugin_added);
        tcore_server_remove_notification_hook(server, on_hook_modem_plugin_removed);
 
-       strg = tcore_server_find_storage(tcore_plugin_ref_server(plugin), "vconf");
+       strg = tcore_server_find_storage(server, "vconf");
        tcore_storage_free(strg);
 }