[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11000] branches/soc-2007-hcube/source/ blender/blenkernel/intern/sound.c: Assertion fix.
Csaba Hruska
csaba.hruska at gmail.com
Thu Jun 21 15:19:33 CEST 2007
Revision: 11000
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11000
Author: hcube
Date: 2007-06-21 15:19:33 +0200 (Thu, 21 Jun 2007)
Log Message:
-----------
Assertion fix.
Modified Paths:
--------------
branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c
Modified: branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c
===================================================================
--- branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c 2007-06-21 12:16:04 UTC (rev 10999)
+++ branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c 2007-06-21 13:19:33 UTC (rev 11000)
@@ -48,7 +48,7 @@
}
}
// if (sound->stream) free(sound->stream);
- SND_DeleteSound( sound->snd_sound );
+ if (sound->snd_sound) SND_DeleteSound( sound->snd_sound );
}
void sound_free_sample(bSample *sample)
More information about the Bf-blender-cvs
mailing list