gui/network_setup.cpp: fix memleaks when using CMenuForwarder

Origin commit data
------------------
Commit: bc0674433c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-05 (Sat, 05 May 2012)
This commit is contained in:
[CST] Focus
2012-05-05 13:42:14 +04:00
parent f9f5a72653
commit b9b48a6c6c
2 changed files with 32 additions and 28 deletions

View File

@@ -76,6 +76,8 @@ class CNetworkSetup : public CMenuTarget, CChangeObserver
CMenuForwarder* dhcpDisable[5];
CMenuForwarder* wlanEnable[2];
CSectionsdConfigNotifier* sectionsdConfigNotifier;
void restoreNetworkSettings();
void prepareSettings();