mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 21:20:33 +00:00
[sound] Don't free realname in the vorbis loader
Luckily, it was almost never hit (error condition), but the code doesn't own the pointer.
This commit is contained in:
parent
826d66efaf
commit
a1d8319b48
1 changed files with 0 additions and 1 deletions
|
@ -293,7 +293,6 @@ SND_LoadOgg (QFile *file, sfx_t *sfx, char *realname)
|
|||
|
||||
if (ov_open_callbacks (file, &vf, 0, 0, callbacks) < 0) {
|
||||
Sys_Printf ("Input does not appear to be an Ogg bitstream.\n");
|
||||
free (realname);
|
||||
return -1;
|
||||
}
|
||||
info = vorbis_get_info (&vf);
|
||||
|
|
Loading…
Reference in a new issue