[network-manager-openvpn/nm-1-0] properties: prevent do_import() from processing lines that were already processed by handle_blob_ite
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn/nm-1-0] properties: prevent do_import() from processing lines that were already processed by handle_blob_ite
- Date: Sat, 23 Jan 2016 16:45:04 +0000 (UTC)
commit b36e2184bbc64f94726d52dc80e4b8f353e1a8e8
Author: Matthias Berndt <matthias berndt riskident com>
Date: Fri Jan 22 13:52:38 2016 +0100
properties: prevent do_import() from processing lines that were already processed by handle_blob_item()
Fixes: 4a9d93a0c8c5ae7d7367ab6f721028593d8f77e0
properties/import-export.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index a375ea4..450b58a 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -266,7 +266,7 @@ handle_blob_item (const char ***line,
nm_setting_vpn_add_data_item (s_vpn, key, path);
finish:
- line = &p;
+ *line = p;
g_free (filename);
g_free (dirname);
g_free (path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]