Hi

I understand that when i've finished using a surface, I have to delete it
at the end of my app, as such :


CL_Surface *surface1 = load_image_from_file("graphics/background.png");
.
.
.

delete surface1;

However, if I load a sound, do I have to do the same ?
If you look at this function, I create a local sound buffer, but I never delete it...



void playsound()
{

CL_SoundBuffer soundbuffer2("sounds/test.ogg");
soundbuffer2.set_volume(0.3f);
CL_SoundBuffer_Session session2 = soundbuffer2.play();
}

Is this okay, or will it cause me memory problems?

thanks.