File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,10 @@ static void create_session (Call *call);
239239static void get_zones (Call * call );
240240
241241static void
242- call_dispose (Call * call )
242+ call_dispose (void * p )
243243{
244+ Call * call = p ;
245+
244246 /* CreateSesssion */
245247 if (call -> parent )
246248 call -> parent -> parent_unexport (call -> parent );
@@ -270,19 +272,10 @@ call_ref (Call *call)
270272 return g_rc_box_acquire (call );
271273}
272274
273- static inline void
274- call_last_unref (void * call )
275- {
276- /* Only separated from call_dispose() because g_rc_box_release_full()
277- * wants a GDestroyNotify, and because this is a convenient place to put
278- * life-cycle debugging */
279- call_dispose (call );
280- }
281-
282275static inline void
283276call_unref (void * call )
284277{
285- g_rc_box_release_full (call , call_last_unref );
278+ g_rc_box_release_full (call , call_dispose );
286279}
287280
288281G_DEFINE_AUTOPTR_CLEANUP_FUNC (Call , call_unref )
You can’t perform that action at this time.
0 commit comments