~phablet-team/telephony-service/rtm-15.04

« back to all changes in this revision

Viewing changes to indicator/messagingmenu.cpp

  • Committer: CI Train Bot
  • Author(s): Sebastien Bacher
  • Date: 2015-07-06 23:31:58 UTC
  • mfrom: (1039.1.1 telephony-service)
  • Revision ID: ci-train-bot@canonical.com-20150706233158-3y00y6v82eqayqst
don't unref a non owned variant, g_variant_new_strv() returns a floating
reference which is consumed by calling messaging_menu_message_add_action()
thanks Lars Uebernickel for pointing the issue Fixes: #1427286

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
    messaging_menu_app_append_message(mCallsApp, message, SOURCE_ID, true);
252
252
    mCalls.append(call);
253
253
 
254
 
    g_variant_unref(messages);
255
254
    g_object_unref(file);
256
255
    g_object_unref(icon);
257
256
    g_object_unref(message);