network_setup: fix memleak

Origin commit data
------------------
Commit: 9cd9b13e2c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-01-22 (Wed, 22 Jan 2020)
This commit is contained in:
Jacek Jendrzej
2020-01-22 19:00:24 +01:00
parent fb89c1d629
commit b5b4439f1d
2 changed files with 6 additions and 5 deletions

View File

@@ -35,6 +35,7 @@
#include <system/setting_helpers.h>
#include <system/configure_network.h>
#include <gui/netfs_setup.h>
#include <string>
@@ -84,7 +85,7 @@ class CNetworkSetup : public CMenuTarget, CChangeObserver
void backupNetworkSettings();
int showNetworkSetup();
void showNetworkNTPSetup(CMenuWidget *menu_ntp);
void showNetworkNFSMounts(CMenuWidget *menu_nfs);
void showNetworkNFSMounts(CMenuWidget *menu_nfs,CNETFSMountGui *netfsMountGui);
int saveChangesDialog();
void applyNetworkSettings();
void saveNetworkSettings();