diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-11-03 12:41:08 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-11-03 12:43:59 +0100 |
commit | 1261f34c8ec98769224c18fd9d18516d5180018f (patch) | |
tree | 9445b0348a42a8cfaf5a4845648374364bef912d /src | |
parent | be5a91027e0f99202005e95e5dbcff387af618d2 (diff) | |
download | remote-logon-service-1261f34c8ec98769224c18fd9d18516d5180018f.tar.gz remote-logon-service-1261f34c8ec98769224c18fd9d18516d5180018f.tar.bz2 remote-logon-service-1261f34c8ec98769224c18fd9d18516d5180018f.zip |
Apply patch 01_clear_servers.patch.
Diffstat (limited to 'src')
-rw-r--r-- | src/uccs-server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uccs-server.c b/src/uccs-server.c index c17cf38..0ec6f04 100644 --- a/src/uccs-server.c +++ b/src/uccs-server.c @@ -466,6 +466,10 @@ uccs_server_new_from_keyfile (GKeyFile * keyfile, const gchar * groupname) static gboolean parse_rds_array (UccsServer * server, JsonArray * array) { + // Got a new set of servers, delete the old one + g_list_free_full(server->subservers, g_object_unref); + server->subservers = NULL; + int i; for (i = 0; i < json_array_get_length(array); i++) { JsonNode * node = json_array_get_element(array, i); |