Skip to content

Commit

Permalink
KCM: another memory leak fixed
Browse files Browse the repository at this point in the history
```
...
    talloc_new: src/responder/kcm/kcmsrv_ccache.c:405 contains      0 bytes in   1 blocks (ref 0) 0x563feaabc0a0
    talloc_new: src/responder/kcm/kcmsrv_ccache.c:405 contains      0 bytes in   1 blocks (ref 0) 0x563feaa84f90
    talloc_new: src/responder/kcm/kcmsrv_ccache.c:405 contains      0 bytes in   1 blocks (ref 0) 0x563feaabf520
...
```
  • Loading branch information
alexey-tikhonov committed Feb 12, 2025
1 parent 062e8ab commit d3e0940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/responder/kcm/kcmsrv_ccache.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ krb5_creds **kcm_cc_unmarshal(TALLOC_CTX *mem_ctx,

talloc_steal(mem_ctx, cred_list);

talloc_free(tmp_ctx);
return cred_list;
done:
talloc_free(tmp_ctx);
Expand Down

0 comments on commit d3e0940

Please sign in to comment.