view close.c @ 0:6ce4443e7545

Add the draft of an API to collect statistics on LXC
author Louis Opter <kalessin@kalessin.fr>
date Wed, 29 Dec 2010 23:28:14 +0100
parents
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);
}