Skip to content

Commit

Permalink
fixed memory free
Browse files Browse the repository at this point in the history
  • Loading branch information
stojkovicv committed Apr 2, 2024
1 parent 34a24bc commit 7898783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/5gmsaf/service-access-information.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ msaf_context_service_access_information_create(msaf_provisioning_session_t *prov

char *scheme = msaf_strdup(metrics_config->config->scheme);
if (!scheme || strlen(scheme) == 0) {
free(scheme);
if (scheme) ogs_free(scheme);
scheme = msaf_strdup("urn:3GPP:ns:PSS:DASH:QM10");
}

Expand Down

0 comments on commit 7898783

Please sign in to comment.