Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-freddysart committed Jan 4, 2024
1 parent 628ba23 commit 083405c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ PHP_METHOD(RdKafka_Conf, setOauthbearerTokenRefreshCb)

Z_ADDREF_P(&fci.function_name);

if (conf->cbs.log) {
if (conf->cbs.oauthbearer_token_refresh) {
zval_ptr_dtor(&conf->cbs.oauthbearer_token_refresh->fci.function_name);
} else {
conf->cbs.oauthbearer_token_refresh = ecalloc(1, sizeof(*conf->cbs.oauthbearer_token_refresh));
Expand Down

0 comments on commit 083405c

Please sign in to comment.