Merge lp:~pete-woods/hud/memory-leaks into lp:hud/phablet

Proposed by Pete Woods
Status: Merged
Approved by: Antti Kaijanmäki
Approved revision: 376
Merged at revision: 376
Proposed branch: lp:~pete-woods/hud/memory-leaks
Merge into: lp:hud/phablet
Diff against target: 751 lines (+80/-613)
4 files modified
build.sh (+1/-1)
src/pronounce-dict.c (+4/-0)
tests/gobject.suppression (+70/-612)
tests/test-voice.c (+5/-0)
To merge this branch: bzr merge lp:~pete-woods/hud/memory-leaks
Reviewer Review Type Date Requested Status
Antti Kaijanmäki (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+158559@code.launchpad.net

Commit message

Fix a couple of minor memory leaks and improve the GObject suppression file to use wildcards

Description of the change

Fix a couple of minor memory leaks and improve the GObject suppression file to use wildcards

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

Looks good. nice job with the suppression file also!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'build.sh'
--- build.sh 2013-04-02 08:34:53 +0000
+++ build.sh 2013-04-12 10:53:32 +0000
@@ -13,6 +13,6 @@
13echo "Using $BUILD_COMMAND to build"13echo "Using $BUILD_COMMAND to build"
14(14(
15 cd build15 cd build
16 cmake .. $EXTRA_ARGS -DCMAKE_INSTALL_PREFIX=../../install -DLOCAL_INSTALL=ON16 cmake .. $EXTRA_ARGS -DCMAKE_INSTALL_PREFIX=../../install -DLOCAL_INSTALL=ON -DCMAKE_BUILD_TYPE=Debug
17 $BUILD_COMMAND17 $BUILD_COMMAND
18)18)
1919
=== modified file 'src/pronounce-dict.c'
--- src/pronounce-dict.c 2013-02-11 09:51:46 +0000
+++ src/pronounce-dict.c 2013-04-12 10:53:32 +0000
@@ -208,6 +208,10 @@
208208
209 g_free(line);209 g_free(line);
210210
211 g_object_unref(dstream);
212 g_object_unref(stream);
213 g_object_unref(dict_file);
214
211 return TRUE;215 return TRUE;
212}216}
213217
214218
=== modified file 'tests/gobject.suppression'
--- tests/gobject.suppression 2013-01-03 12:52:35 +0000
+++ tests/gobject.suppression 2013-04-12 10:53:32 +0000
@@ -1,614 +1,72 @@
11
2{2###############################
3 hello3# PocketSphinx rules
4 Memcheck:Leak4###############################
5 fun:malloc5
6 fun:realloc6{
7 fun:g_realloc7 <insert_a_suppression_name_here>
8 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*8 Memcheck:Leak
9 fun:g_type_register_static9 ...
10 fun:g_type_plugin_get_type10 fun:cmd_ln_init
11 fun:g_type_init_with_debug_flags11}
12 fun:main12
13}13###############################
1414# GObject rules
15{15###############################
16 <insert_a_suppression_name_here>16
17 Memcheck:Leak17{
18 fun:malloc18 <insert_a_suppression_name_here>
19 fun:realloc19 Memcheck:Leak
20 fun:g_realloc20 ...
21 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*21 fun:g_type_register_static
22 fun:g_type_register_static22}
23 fun:g_boxed_type_register_static23
24 fun:g_value_array_get_type24{
25 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*25 <insert_a_suppression_name_here>
26 fun:g_type_init_with_debug_flags26 Memcheck:Leak
27 fun:main27 ...
28}28 fun:g_type_register_fundamental
2929}
30{30
31 <insert_a_suppression_name_here>31{
32 Memcheck:Leak32 <insert_a_suppression_name_here>
33 fun:malloc33 Memcheck:Leak
34 fun:realloc34 ...
35 fun:g_realloc35 fun:type_node_fundamental_new_W
36 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*36}
37 fun:g_type_register_static37
38 fun:g_pointer_type_register_static38{
39 fun:g_gtype_get_type39 <insert_a_suppression_name_here>
40 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*40 Memcheck:Leak
41 fun:g_type_init_with_debug_flags41 ...
42 fun:main42 fun:type_data_make_W
43}43}
4444
45{45{
46 <insert_a_suppression_name_here>46 <insert_a_suppression_name_here>
47 Memcheck:Leak47 Memcheck:Leak
48 fun:calloc48 ...
49 fun:g_malloc049 fun:g_type_add_interface_static
50 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*50}
51 fun:g_type_register_fundamental51
52 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*52{
53 fun:g_type_init_with_debug_flags53 <insert_a_suppression_name_here>
54 fun:main54 Memcheck:Leak
55}55 ...
5656 fun:type_iface_vtable_base_init_Wm
57{57}
58 <insert_a_suppression_name_here>58
59 Memcheck:Leak59{
60 fun:malloc60 <insert_a_suppression_name_here>
61 fun:realloc61 Memcheck:Leak
62 fun:g_realloc62 ...
63 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*63 fun:g_dbus_interface_skeleton_class_intern_init
64 fun:g_type_register_fundamental64}
65 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*65
66 fun:g_type_init_with_debug_flags66{
67 fun:main67 <insert_a_suppression_name_here>
68}68 Memcheck:Leak
6969 ...
70{70 fun:g_signal_type_cclosure_new
71 <insert_a_suppression_name_here>71}
72 Memcheck:Leak
73 fun:calloc
74 fun:g_malloc0
75 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
76 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
77 fun:g_type_init_with_debug_flags
78 fun:main
79}
80
81{
82 <insert_a_suppression_name_here>
83 Memcheck:Leak
84 fun:calloc
85 fun:g_malloc0
86 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
87 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
88 fun:g_type_register_fundamental
89 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
90 fun:g_type_init_with_debug_flags
91 fun:main
92}
93
94{
95 <insert_a_suppression_name_here>
96 Memcheck:Leak
97 fun:realloc
98 fun:g_realloc
99 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
100 fun:g_type_register_static
101 fun:g_param_type_register_static
102 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
103 fun:g_type_init_with_debug_flags
104 fun:main
105}
106
107{
108 <insert_a_suppression_name_here>
109 Memcheck:Leak
110 fun:calloc
111 fun:g_malloc0
112 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
113 fun:g_type_init_with_debug_flags
114 fun:main
115}
116
117{
118 <insert_a_suppression_name_here>
119 Memcheck:Leak
120 fun:malloc
121 fun:realloc
122 fun:g_realloc
123 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
124 fun:g_type_register_static
125 fun:g_type_register_static_simple
126 fun:hud_keyword_mapping_get_type
127 fun:hud_keyword_mapping_new
128 fun:test_keyword_mapping_open_tab
129 obj:/lib/x86_64-linux-gnu/libglib-2.*
130 obj:/lib/x86_64-linux-gnu/libglib-2.*
131 obj:/lib/x86_64-linux-gnu/libglib-2.*
132 fun:g_test_run_suite
133 fun:main
134}
135
136{
137 <insert_a_suppression_name_here>
138 Memcheck:Leak
139 fun:realloc
140 fun:g_realloc
141 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.*
142 fun:g_type_register_static
143 fun:g_type_register_static_simple
144 fun:hud_result_get_type
145 fun:hud_result_new
146 fun:test_result_highlighting_base
147 obj:/lib/x86_64-linux-gnu/libglib-2.*
148 obj:/lib/x86_64-linux-gnu/libglib-2.*
149 obj:/lib/x86_64-linux-gnu/libglib-2.*
150 fun:g_test_run_suite
151 fun:main
152}
153
154{
155 <insert_a_suppression_name_here>
156 Memcheck:Leak
157 fun:malloc
158 fun:g_malloc
159 fun:g_slice_alloc
160 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
161 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
162 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
163 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
164 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
165 fun:g_type_add_interface_static
166 fun:hud_random_source_get_type
167 fun:hud_random_source_new_full
168 fun:test_hud_query
169 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
170 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
171 fun:g_test_run_suite
172 fun:main
173}
174
175{
176 <insert_a_suppression_name_here>
177 Memcheck:Leak
178 fun:malloc
179 fun:g_malloc
180 fun:g_slice_alloc
181 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
182 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
183 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
184 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
185 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
186 fun:g_type_add_interface_static
187 fun:g_dbus_interface_skeleton_get_type
188 fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type
189 fun:hud_query_iface_com_canonical_hud_query_skeleton_new
190 fun:hud_query_init
191 fun:g_type_create_instance
192 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
193 fun:g_object_newv
194 fun:g_object_new
195 fun:hud_query_new
196 fun:make_assertion
197 fun:test_hud_query
198}
199
200{
201 <insert_a_suppression_name_here>
202 Memcheck:Leak
203 fun:malloc
204 fun:g_malloc
205 fun:g_slice_alloc
206 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
207 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
208 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
209 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
210 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
211 fun:g_type_add_interface_static
212 fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type
213 fun:hud_query_iface_com_canonical_hud_query_skeleton_new
214 fun:hud_query_init
215 fun:g_type_create_instance
216 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
217 fun:g_object_newv
218 fun:g_object_new
219 fun:hud_query_new
220 fun:make_assertion
221 fun:test_hud_query
222 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
223}
224
225{
226 <insert_a_suppression_name_here>
227 Memcheck:Leak
228 fun:malloc
229 fun:g_malloc
230 fun:g_slice_alloc
231 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
232 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
233 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
234 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
235 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
236 fun:g_type_add_interface_static
237 fun:g_dbus_connection_get_type
238 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
239 fun:g_bus_get_sync
240 fun:hud_query_init
241 fun:g_type_create_instance
242 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
243 fun:g_object_newv
244 fun:g_object_new
245 fun:hud_query_new
246 fun:make_assertion
247 fun:test_hud_query
248}
249
250{
251 <insert_a_suppression_name_here>
252 Memcheck:Leak
253 fun:malloc
254 fun:g_malloc
255 fun:g_slice_alloc
256 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
257 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
258 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
259 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
260 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
261 fun:g_type_add_interface_static
262 fun:g_socket_address_get_type
263 fun:g_unix_socket_address_get_type
264 fun:g_unix_socket_address_new_with_type
265 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
266 fun:g_dbus_address_get_stream_sync
267 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
268 fun:g_bus_get_sync
269 fun:hud_query_init
270 fun:g_type_create_instance
271 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
272 fun:g_object_newv
273}
274
275{
276 <insert_a_suppression_name_here>
277 Memcheck:Leak
278 fun:malloc
279 fun:g_malloc
280 fun:g_slice_alloc
281 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
282 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
283 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
284 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
285 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
286 fun:g_type_add_interface_static
287 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
288 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
289 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
290 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
291 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
292 fun:g_bus_get_sync
293 fun:hud_query_init
294 fun:g_type_create_instance
295 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
296 fun:g_object_newv
297 fun:g_object_new
298}
299
300{
301 <insert_a_suppression_name_here>
302 Memcheck:Leak
303 fun:malloc
304 fun:g_malloc
305 fun:g_slice_alloc
306 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
307 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
308 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
309 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
310 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
311 fun:g_type_add_interface_static
312 fun:g_simple_async_result_get_type
313 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
314 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
315 fun:g_bus_get_sync
316 fun:hud_query_init
317 fun:g_type_create_instance
318 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
319 fun:g_object_newv
320 fun:g_object_new
321 fun:hud_query_new
322 fun:make_assertion
323}
324
325{
326 <insert_a_suppression_name_here>
327 Memcheck:Leak
328 fun:malloc
329 fun:g_malloc
330 fun:g_slice_alloc
331 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
332 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
333 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
334 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
335 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
336 fun:g_type_add_interface_static
337 fun:g_memory_output_stream_get_type
338 fun:g_memory_output_stream_new
339 fun:g_dbus_message_to_blob
340 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
341 fun:g_dbus_connection_send_message_with_reply
342 fun:g_dbus_connection_send_message_with_reply_sync
343 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
344 fun:g_dbus_connection_call_sync
345 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
346 fun:g_bus_get_sync
347 fun:hud_query_init
348}
349
350{
351 <insert_a_suppression_name_here>
352 Memcheck:Leak
353 fun:calloc
354 fun:g_malloc0
355 fun:g_type_class_ref
356 fun:g_type_class_ref
357 fun:g_param_spec_flags
358 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
359 fun:g_type_class_ref
360 fun:g_type_class_ref
361 fun:g_object_newv
362 fun:g_object_new
363 fun:hud_query_iface_com_canonical_hud_query_skeleton_new
364 fun:hud_query_init
365 fun:g_type_create_instance
366 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
367 fun:g_object_newv
368 fun:g_object_new
369 fun:hud_query_new
370 fun:make_assertion
371 fun:test_hud_query
372 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
373}
374
375{
376 <insert_a_suppression_name_here>
377 Memcheck:Leak
378 fun:malloc
379 fun:g_malloc
380 fun:g_memdup
381 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
382 fun:g_type_class_ref
383 fun:g_object_new_valist
384 fun:g_initable_new_valist
385 fun:g_initable_new
386 fun:g_socket_new
387 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
388 fun:g_socket_client_connect
389 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
390 fun:g_dbus_address_get_stream_sync
391 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
392 fun:g_bus_get_sync
393 fun:hud_query_init
394 fun:g_type_create_instance
395 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
396 fun:g_object_newv
397 fun:g_object_new
398}
399
400{
401 <insert_a_suppression_name_here>
402 Memcheck:Leak
403 fun:malloc
404 fun:g_malloc
405 fun:g_memdup
406 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
407 fun:g_type_class_ref
408 fun:g_type_class_ref
409 fun:g_object_new_valist
410 fun:g_object_new
411 fun:g_unix_socket_address_new_with_type
412 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
413 fun:g_dbus_address_get_stream_sync
414 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
415 fun:g_bus_get_sync
416 fun:hud_query_init
417 fun:g_type_create_instance
418 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
419 fun:g_object_newv
420 fun:g_object_new
421 fun:hud_query_new
422 fun:make_assertion
423}
424
425{
426 <insert_a_suppression_name_here>
427 Memcheck:Leak
428 fun:calloc
429 fun:g_malloc0
430 fun:g_type_class_ref
431 fun:g_type_class_ref
432 fun:g_param_spec_enum
433 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
434 fun:g_type_class_ref
435 fun:g_type_class_ref
436 fun:g_object_new_valist
437 fun:g_object_new
438 fun:g_unix_socket_address_new_with_type
439 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
440 fun:g_dbus_address_get_stream_sync
441 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
442 fun:g_bus_get_sync
443 fun:hud_query_init
444 fun:g_type_create_instance
445 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
446 fun:g_object_newv
447 fun:g_object_new
448}
449
450{
451 <insert_a_suppression_name_here>
452 Memcheck:Leak
453 fun:realloc
454 fun:g_realloc
455 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
456 fun:g_type_register_static
457 fun:g_flags_register_static
458 fun:g_tls_certificate_flags_get_type
459 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
460 fun:g_type_class_ref
461 fun:g_object_newv
462 fun:g_object_new
463 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
464 fun:g_dbus_address_get_stream_sync
465 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
466 fun:g_bus_get_sync
467 fun:hud_query_init
468 fun:g_type_create_instance
469 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
470 fun:g_object_newv
471 fun:g_object_new
472 fun:hud_query_new
473}
474
475
476{
477 <insert_a_suppression_name_here>
478 Memcheck:Leak
479 fun:realloc
480 fun:g_realloc
481 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
482 fun:g_type_register_static
483 fun:g_boxed_type_register_static
484 fun:dee_model_iter_get_type
485 obj:/usr/lib/libdee-1.0.so.4.1.1
486 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
487 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
488 fun:g_type_class_ref
489 fun:g_type_class_ref
490 fun:g_object_newv
491 fun:g_object_new
492 fun:dee_sequence_model_new
493 fun:dee_shared_model_new
494 fun:hud_query_init
495 fun:g_type_create_instance
496 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
497 fun:g_object_newv
498 fun:g_object_new
499}
500
501{
502 <insert_a_suppression_name_here>
503 Memcheck:Leak
504 fun:malloc
505 fun:g_malloc
506 fun:g_slice_alloc
507 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
508 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
509 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
510 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
511 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
512 fun:g_type_add_interface_static
513 fun:g_memory_input_stream_get_type
514 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
515 obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1
516 fun:g_bus_get_sync
517 fun:hud_query_init
518 fun:g_type_create_instance
519 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
520 fun:g_object_newv
521 fun:g_object_new
522 fun:hud_query_new
523 fun:make_assertion
524}
525
526{
527 <insert_a_suppression_name_here>
528 Memcheck:Leak
529 fun:malloc
530 fun:g_malloc
531 fun:g_slice_alloc
532 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
533 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
534 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
535 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
536 fun:g_type_add_interface_static
537 fun:hud_random_source_get_type
538 fun:hud_random_source_new_full
539 fun:test_hud_query
540 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
541 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
542 fun:g_test_run_suite
543 fun:main
544}
545
546{
547 <insert_a_suppression_name_here>
548 Memcheck:Leak
549 fun:malloc
550 fun:g_malloc
551 fun:g_memdup
552 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
553 fun:g_type_class_ref
554 fun:g_object_newv
555 fun:g_object_new
556 fun:hud_random_source_new_full
557 fun:test_hud_query
558 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
559 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
560 fun:g_test_run_suite
561 fun:main
562}
563
564{
565 <insert_a_suppression_name_here>
566 Memcheck:Leak
567 fun:malloc
568 fun:g_malloc
569 fun:g_slice_alloc
570 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
571 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
572 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
573 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
574 fun:g_type_add_interface_static
575 fun:g_dbus_interface_skeleton_get_type
576 fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type
577 fun:hud_query_iface_com_canonical_hud_query_skeleton_new
578 fun:hud_query_init
579 fun:g_type_create_instance
580 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
581 fun:g_object_newv
582 fun:g_object_new
583 fun:hud_query_new
584 fun:make_assertion
585 fun:test_hud_query
586 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
587}
588
589{
590 <insert_a_suppression_name_here>
591 Memcheck:Leak
592 fun:malloc
593 fun:g_malloc
594 fun:g_slice_alloc
595 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
596 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
597 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
598 fun:g_type_register_static
599 fun:g_type_register_static_simple
600 fun:hud_query_iface_com_canonical_hud_query_skeleton_get_type
601 fun:hud_query_iface_com_canonical_hud_query_skeleton_new
602 fun:hud_query_init
603 fun:g_type_create_instance
604 obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1
605 fun:g_object_newv
606 fun:g_object_new
607 fun:hud_query_new
608 fun:make_assertion
609 fun:test_hud_query
610 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
611 obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1
612}
613
61472
61573
=== modified file 'tests/test-voice.c'
--- tests/test-voice.c 2013-04-02 15:05:53 +0000
+++ tests/test-voice.c 2013-04-12 10:53:32 +0000
@@ -347,26 +347,31 @@
347 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );347 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );
348 tokens = hud_string_list_add_item ("auto adjust", tokens);348 tokens = hud_string_list_add_item ("auto adjust", tokens);
349 hud_manual_source_add (source, tokens, NULL, "shortcut1", TRUE);349 hud_manual_source_add (source, tokens, NULL, "shortcut1", TRUE);
350 hud_string_list_unref(tokens);
350 }351 }
351 {352 {
352 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );353 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );
353 tokens = hud_string_list_add_item ("color balance", tokens);354 tokens = hud_string_list_add_item ("color balance", tokens);
354 hud_manual_source_add (source, tokens, NULL, "shortcut2", TRUE);355 hud_manual_source_add (source, tokens, NULL, "shortcut2", TRUE);
356 hud_string_list_unref(tokens);
355 }357 }
356 {358 {
357 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );359 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );
358 tokens = hud_string_list_add_item ("open tab", tokens);360 tokens = hud_string_list_add_item ("open tab", tokens);
359 hud_manual_source_add (source, tokens, NULL, "shortcut3", TRUE);361 hud_manual_source_add (source, tokens, NULL, "shortcut3", TRUE);
362 hud_string_list_unref(tokens);
360 }363 }
361 {364 {
362 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );365 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );
363 tokens = hud_string_list_add_item ("open terminal", tokens);366 tokens = hud_string_list_add_item ("open terminal", tokens);
364 hud_manual_source_add (source, tokens, NULL, "shortcut4", TRUE);367 hud_manual_source_add (source, tokens, NULL, "shortcut4", TRUE);
368 hud_string_list_unref(tokens);
365 }369 }
366 {370 {
367 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );371 HudStringList *tokens = hud_string_list_add_item ("menu", NULL );
368 tokens = hud_string_list_add_item ("system settings", tokens);372 tokens = hud_string_list_add_item ("system settings", tokens);
369 hud_manual_source_add (source, tokens, NULL, "shortcut5", TRUE);373 hud_manual_source_add (source, tokens, NULL, "shortcut5", TRUE);
374 hud_string_list_unref(tokens);
370 }375 }
371376
372 load_pipe_module (&test_voice);377 load_pipe_module (&test_voice);

Subscribers

People subscribed via source and target branches