~registry/libsignon-glib/packaging

Viewing all changes in revision 121.

  • Committer: Alberto Mardegan
  • Date: 2011-12-15 14:28:43 UTC
  • Revision ID: git-v1:73b3e8a6af0769f6b601dca3f8425b28f88b0f70
Nullify the returned data when errors occur

In asynchronous callbacks, we expect that the developer will not access
the returned variables if the GError is set. Language bindings, however,
might access all arguments in order to marshal them; therefore, let's
stay on the safe side and always set the data pointers to NULL.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: