Cleaned up error handling in OSyncEngine. Don't overwrite engine->error directly, use osync_engine_set_error() instead, to stack the errors in a clean way.
Cleaned up error handling in OSyncEngine.
Don't overwrite engine->error directly, use osync_engine_set_error()
instead, to stack the errors in a clean way.

This fixes also some memory leaks (unittest engine-error)



git-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@3052 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e

luizluca/opensync-luizluca,luizluca/opensync-luizluca