#include "system.h"
#include "rpmcli.h"
#include "misc.h"
+#include "rpmts.h"
#include "debug.h"
struct rpmInstallArguments_s * ia = &rpmIArgs;
int arg;
int ec = 0;
+ rpmts ts;
#if HAVE_MCHECK_H && HAVE_MTRACE
mtrace(); /* Trace malloc only if MALLOC_TRACE=mtrace-output-file. */
if (rpmReadConfigFiles(NULL, NULL))
exit(1);
- ec = rpmRollback(ia, NULL);
+ ts = rpmtsCreate();
+ ec = rpmRollback(ts, ia, NULL);
+ ts = rpmtsFree(ts);
optCon = poptFreeContext(optCon);
rpmFreeMacros(NULL);