view close.c @ 2:ba9d8601d5f9

Also install the header with the install rule
author Louis Opter <louis@dotcloud.com>
date Thu, 30 Dec 2010 19:01:47 +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);
}