diff -aur vtun-3.0.0/lfd_lzo.c fw-vtun/lfd_lzo.c --- vtun-3.0.0/lfd_lzo.c 2006-12-11 08:55:06.000000000 +0100 +++ fw-vtun/lfd_lzo.c 2007-05-27 23:06:33.000000000 +0200 @@ -74,7 +74,7 @@ vtun_syslog(LOG_ERR,"Can't allocate buffer for the compressor"); return 1; } - if( !(wmem = lzo_malloc(mem)) ){ + if( !(wmem = malloc(mem)) ){ vtun_syslog(LOG_ERR,"Can't allocate buffer for the compressor"); return 1; } @@ -92,7 +92,7 @@ int free_lzo() { lfd_free(zbuf); zbuf = NULL; - lzo_free(wmem); wmem = NULL; + free(wmem); wmem = NULL; return 0; }