Skip to content

Commit

Permalink
user_ifdhandler: Fix segfault on startup
Browse files Browse the repository at this point in the history
Change-Id: I6e839b7772a9b176b972c5c0a01bb352a7a68923
  • Loading branch information
joeyberkovitz committed May 15, 2024
1 parent fffe0b7 commit 06a115c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/user_ifdhandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ static void *client_pthread_main(void *arg)
if (gethostname(hostname, sizeof(hostname)) < 0)
OSMO_STRLCPY_ARRAY(hostname, "unknown");

osmo_select_init();
rc = osmo_ctx_init("client");
OSMO_ASSERT(rc == 0);
osmo_select_init();

ct = talloc_zero(OTC_GLOBAL, struct client_thread);
OSMO_ASSERT(ct);
Expand Down

0 comments on commit 06a115c

Please sign in to comment.