diff options
author | Russell Belfer <rb@github.com> | 2012-08-01 14:49:47 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-08-22 16:07:19 -0700 |
commit | b769e936d0118b7c3870ffc082b44254164bfedd (patch) | |
tree | 7719f21324b4881537952a6779b37bdae195616a /src | |
parent | 0e26202cd587f45edc96966ed327e93354e2102e (diff) | |
download | libgit2-b769e936d0118b7c3870ffc082b44254164bfedd.tar.gz |
Don't reference stack vars in cleanup callback
If you use the clar cleanup callback function, you can't pass a
reference pointer to a stack allocated variable because when the
cleanup function runs, the stack won't exist anymore.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions