Skip to content

Commit

Permalink
traverse: Fix transfer on hash table
Browse files Browse the repository at this point in the history
Otherwise, bindings try to erroneously unref the key/values as well.
  • Loading branch information
cgwalters committed Jan 21, 2015
1 parent 8195fd1 commit 28e5e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libostree/ostree-repo-traverse.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* This hash table is a set of #GVariant which can be accessed via
* ostree_object_name_deserialize().
*
* Returns: (transfer full) (element-type GVariant GVariant): A new hash table
* Returns: (transfer container) (element-type GVariant GVariant): A new hash table
*/
GHashTable *
ostree_repo_traverse_new_reachable (void)
Expand Down Expand Up @@ -229,7 +229,7 @@ ostree_repo_traverse_commit_union (OstreeRepo *repo,
* @repo: Repo
* @commit_checksum: ASCII SHA256 checksum
* @maxdepth: Traverse this many parent commits, -1 for unlimited
* @out_reachable: (out) (element-type GVariant GVariant): Set of reachable objects
* @out_reachable: (out) (transfer container) (element-type GVariant GVariant): Set of reachable objects
* @cancellable: Cancellable
* @error: Error
*
Expand Down

0 comments on commit 28e5e6f

Please sign in to comment.