view close.c @ 11:cff6be97dae1

Add a mainpage for the doxygen documentation
author Louis Opter <kalessin@kalessin.fr>
date Fri, 07 Jan 2011 20:53:10 +0100
parents 6ce4443e7545
children
line wrap: on
line source

#include <stdlib.h>

#include "_lxcstats.h"
#include "lxcstats.h"

int
lxcst_close(lxcst_handle *hdl)
{
    if (hdl) {
        free(hdl->cgroup_dir);
        free(hdl);
    }

    return (0);
}