e_async_closure_callback: Do not test 'object' parameter validity
authorMilan Crha <mcrha@redhat.com>
Fri, 2 Nov 2012 10:09:03 +0000 (11:09 +0100)
committerMilan Crha <mcrha@redhat.com>
Fri, 2 Nov 2012 10:09:03 +0000 (11:09 +0100)
commitcc9e64ba9d1a8aa6577d77c2c07eea85c14999ec
treed47b860c835e69a877944074faf15863eb896643
parentc81d3a885bb3e2937a82e3cc12cfa23f89d65f71
e_async_closure_callback: Do not test 'object' parameter validity

It is unnecessary to test validity of the 'object' parameter,
especially when this callback does nothing with it. The reason
is that the secret_password_store() calls the callback with NULL
'object', which leads to a deadlock on the source registry side.
libedataserver/e-data-server-util.c