X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_sound_al.inc;h=53ee47e63a9e351ffefbf73209d094305eddfdd3;hb=refs%2Fheads%2Ffbo;hp=aa843dfba137b59c736efbd1a9537c69571e95c8;hpb=0cf129a368fac6c1f7e261806a44f9d5b2ade100;p=d2df-sdl.git diff --git a/src/engine/e_sound_al.inc b/src/engine/e_sound_al.inc index aa843df..53ee47e 100644 --- a/src/engine/e_sound_al.inc +++ b/src/engine/e_sound_al.inc @@ -2,8 +2,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation, version 3 of the License ONLY. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -99,7 +98,7 @@ var implementation uses - g_window, g_options, utils; + g_options, utils; const NUM_SOURCES = 255; // + 1 stereo @@ -337,8 +336,6 @@ begin e_SoundsArray[find_id].Loader := Loader; end; - // the calling side won't free this, the loader will get a copy, so fuck it - FreeMem(pData); ID := find_id; Result := True; end;