From: Daniel Hokka Zakrisson Date: Thu, 21 Aug 2008 17:57:06 +0000 (+0000) Subject: Since using a destructor doesn't seem to work all that well, try using atexit instead. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b39a50d581b50c049eaa4d3d576e7737c196909c;p=util-vserver.git Since using a destructor doesn't seem to work all that well, try using atexit instead. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2756 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/src/rpm-fake.c b/src/rpm-fake.c index 0e3a936..26bb73c 100644 --- a/src/rpm-fake.c +++ b/src/rpm-fake.c @@ -511,6 +511,8 @@ initRPMFake() initEnvironment(); initPwSocket(); + atexit(exitRPMFake); + #if 0 if (isDbgLevel(DBG_VARIABLES|DBG_VERBOSE2)) {