about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-19 00:34:07 +0000
committerJames Booth <boothj5@gmail.com>2013-02-19 00:34:07 +0000
commitec124a552c7b141c7c9f6f2b7d5f025e53a7585c (patch)
tree641f1fa0313b28fbad8f1017bbc222cc7704abe5 /src/xmpp
parentdc30eeacad078d82bf02d03a76d396543836e6c6 (diff)
downloadprofani-tty-ec124a552c7b141c7c9f6f2b7d5f025e53a7585c.tar.gz
Remove all from resource hash table, rather than destroy
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c
index 2c0c5186..bdbf948c 100644
--- a/src/xmpp/connection.c
+++ b/src/xmpp/connection.c
@@ -283,7 +283,7 @@ connection_free_resources(void)
     FREE_SET_NULL(saved_details.altdomain);
     FREE_SET_NULL(saved_account.name);
     FREE_SET_NULL(saved_account.passwd);
-    g_hash_table_destroy(available_resources);
+    g_hash_table_remove_all(available_resources);
     chat_sessions_clear();
     presence_free_sub_requests();
     xmpp_conn_release(jabber_conn.conn);
>
a26cc359 ^
57699011 ^
a26cc359 ^
6f5d7864 ^
ec926027 ^
3c435756 ^
1228ec73 ^
ec926027 ^


1228ec73 ^

7da71d03 ^
0edf822f ^
7da71d03 ^
9fc64bbc ^
10e449b5 ^
ec926027 ^
9fc64bbc ^

1228ec73 ^
0edf822f ^
ec926027 ^



decaddb4 ^
a8007cc4 ^
ec926027 ^
a8007cc4 ^
82ac0b7e ^
c7c822b2 ^
f1a6f323 ^
d241c9c4 ^





f1a6f323 ^
d241c9c4 ^
eb7afe5d ^
d241c9c4 ^
9cf71627 ^
6f5d7864 ^
9fc64bbc ^
0edf822f ^
9fc64bbc ^

3c435756 ^


2199940a ^
ec926027 ^















e7f76736 ^



267ebb59 ^
e7f76736 ^

a8007cc4 ^
c17d5591 ^
a8007cc4 ^
e7f76736 ^




267ebb59 ^


f5f4b698 ^



ad8e984f ^
cc3b58b6 ^
2b7a7498 ^
267ebb59 ^


7284d503 ^
96f19e1e ^

7f931ef0 ^


3c435756 ^
3c435756 ^
2199940a ^
3c435756 ^

b1bbe92d ^
96f19e1e ^
3c435756 ^
3c435756 ^
7284d503 ^

cae5461b ^
916ae8f5 ^
cae5461b ^
c82d0176 ^
a4ef18b1 ^
a26cc359 ^

a4ef18b1 ^
fae70331 ^

b291f85b ^



cae5461b ^



6b6dfb0c ^
3ba63579 ^
fae70331 ^
0edc9471 ^
fae70331 ^
57699011 ^
b291f85b ^

cae5461b ^

c1a50c82 ^
6b6dfb0c ^
3076bab4 ^


f1a6f323 ^
f48f6c14 ^
eaa75c87 ^
decaddb4 ^
6b6dfb0c ^



c82d0176 ^



decaddb4 ^







fc55fea0 ^






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200