Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed JpegIo thumbnail creation to use malloc/free for dest buffer #1046

Merged
merged 1 commit into from
Jun 6, 2012

Commits on Jun 4, 2012

  1. Changed JpegIo thumbnail creation to use malloc/free rather than new/…

    …delete, as
    
    libjpeg will use  realloc to increase the buffer as needed. Mixing them like this could have undefined effects or cause memory leaks.
    This code on the xbox1 version of xbmc did indeed leak.
    joolswills committed Jun 4, 2012
    Configuration menu
    Copy the full SHA
    55711b0 View commit details
    Browse the repository at this point in the history