project_files/frontlib/model/gamesetup.c
author Medo <smaxein@googlemail.com>
Wed, 27 Jun 2012 18:02:45 +0200
changeset 7275 15f722e0b96f
parent 7179 f84805e6df03
child 7314 6171f0bad318
permissions -rw-r--r--
frontlib: Getting there :) Added commandline client for testing

#include "gamesetup.h"

#include <stdlib.h>

void flib_gamesetup_destroy(flib_gamesetup *gamesetup) {
	if(gamesetup) {
		free(gamesetup->script);
		flib_cfg_release(gamesetup->gamescheme);
		flib_map_release(gamesetup->map);
		flib_teamlist_destroy(gamesetup->teamlist);
		free(gamesetup);
	}
}