[http calendar] Ref backend inside source_changed_cb()
authorMilan Crha <mcrha@redhat.com>
Wed, 9 Jan 2013 14:41:10 +0000 (15:41 +0100)
committerMilan Crha <mcrha@redhat.com>
Wed, 9 Jan 2013 14:41:10 +0000 (15:41 +0100)
commit9c51a13fafb05af60caeb6ab19e77ca4c715f72a
treee12c4c8085907a10f38ced7594fd1722b378fb91
parent0eeb603f557dcb47d6f98a8a2479c280b8d5a0e6
[http calendar] Ref backend inside source_changed_cb()

In certain situation, the backend can be freed while the callback
is still in action, then the factory can crash inside
cal_backend_http_ensure_uri() or such.
calendar/backends/http/e-cal-backend-http.c