ll2_unref_context3
Frees lastlog2 context.
Usage
#include <lastlog2.h>
*context * ll2_unref_context(ll2_context *context);
Overview
Frees lastlog2 context, which has been allocated by ll2_new_context.
const char *db_path = "/var/lib/lastlog/lastlog2.db"; ll2_context *context = ll2_new_context(db_path); /* other lastlog2 calls..... */ ll2_unref_context(context);