Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error in osmcallback hook #6106

Merged
merged 1 commit into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .unreleased/PR_6106
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes: #6106 incorrect pointer usage in OSM hook callback
2 changes: 1 addition & 1 deletion src/osm_callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ts_get_osm_hypertable_drop_hook()
{
OsmCallbacks *ptr_old = ts_get_osm_callbacks_old();
if (ptr_old)
return ptr->hypertable_drop_hook;
return ptr_old->hypertable_drop_hook;
}
return NULL;
}
Expand Down