Merge branch 'for-upstream-fix-stbvorbis-startdecoder-memleak' of https://github.com/manxorist/stb into working

pull/271/head
Sean Barrett 2016-04-02 02:59:53 -07:00
commit 8420e20af6
1 changed files with 1 additions and 2 deletions

View File

@ -3804,7 +3804,6 @@ static int start_decoder(vorb *f)
}
}
}
setup_temp_free(f, mults,sizeof(mults[0])*c->lookup_values);
c->lookup_type = 2;
}
else
@ -3820,11 +3819,11 @@ static int start_decoder(vorb *f)
if (c->sequence_p)
last = val;
}
setup_temp_free(f, mults,sizeof(mults[0])*c->lookup_values);
}
#ifndef STB_VORBIS_DIVIDES_IN_CODEBOOK
skip:;
#endif
setup_temp_free(f, mults, sizeof(mults[0])*c->lookup_values);
CHECK(f);
}