sms-part: plug memleak

This commit is contained in:
Aleksander Morgado
2012-12-12 12:21:17 +01:00
parent 9d5e2c608d
commit c43c8958d0

View File

@@ -485,8 +485,7 @@ mm_sms_part_new_from_pdu (guint index,
}
part = mm_sms_part_new_from_binary_pdu (index, pdu, pdu_len, error);
if (!part)
g_free (pdu);
g_free (pdu);
return part;
}