Skip to content

Commit

Permalink
fix: correct infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
andyholmes committed Mar 2, 2023
1 parent 6f9a549 commit a8663bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvalent/core/valent-context.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ valent_context_get_root (ValentContext *context)
g_return_val_if_fail (VALENT_IS_CONTEXT (context), NULL);

if (priv->parent != NULL)
root = valent_context_get_root (context);
root = valent_context_get_root (priv->parent);

return root;
}
Expand Down

0 comments on commit a8663bd

Please sign in to comment.