4f3cb1084a
- Pass maintainership to submitter PR: ports/153653 Submitted by: Gleb Sushko <neuroworker_AT_gmail_DOT_com>
12 lines
429 B
Text
12 lines
429 B
Text
diff -ru playercode/virtch_common.c libmikmod-3.1.12/playercode/virtch_common.c
|
|
--- playercode/virtch_common.c 2007-12-15 01:26:53.000000000 -0800
|
|
+++ playercode/virtch_common.c 2009-10-05 00:37:12.000000000 -0700
|
|
@@ -347,7 +347,7 @@
|
|
|
|
void VC1_SampleUnload(SWORD handle)
|
|
{
|
|
- if (handle<MAXSAMPLEHANDLES) {
|
|
+ if (Samples && handle<MAXSAMPLEHANDLES) {
|
|
if (Samples[handle])
|
|
free(Samples[handle]);
|
|
Samples[handle]=NULL;
|