purple: fix crash on call initiation failure (II)
commit5d687b466bdf978a542aa55ee432f408e8ef4a13
authorStefan Becker <chemobejk@gmail.com>
Tue, 4 Mar 2014 19:40:35 +0000 (4 21:40 +0200)
committerStefan Becker <chemobejk@gmail.com>
Tue, 4 Mar 2014 19:40:35 +0000 (4 21:40 +0200)
tree7b519999810c2c086ed7550722a2a8a8743e99d8
parente41ba62a88ebb0112639ab568f5e9bb43d8c95f8
purple: fix crash on call initiation failure (II)

Revert previous commit e41ba62a88ebb0112639ab568f5e9bb43d8c95f8

Call sipe_media_hangup() insted of sipe_backend_media_free() whenever
sipe_backend_media_add_stream() fails. That is the correct way of
handling this error situation, according to Jakub.

Crash reported in Red Hat Bugzilla:

   https://bugzilla.redhat.com/show_bug.cgi?id=1071710
src/core/sipe-media.c
src/purple/purple-media.c