summaryrefslogtreecommitdiffstats
path: root/libmsi/where.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-11-30 11:27:50 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-06 20:30:31 +0100
commit33399f41f9331ec2c1859af6634db3de72e946ba (patch)
treec3837e80c51f3d722ff2186f652a245385d81bc9 /libmsi/where.c
parent95586f6733d3fcbc756265818ef7e52b207542fe (diff)
downloadmsitools-33399f41f9331ec2c1859af6634db3de72e946ba.tar.gz
msitools-33399f41f9331ec2c1859af6634db3de72e946ba.tar.xz
msitools-33399f41f9331ec2c1859af6634db3de72e946ba.zip
allocate views with alloc_msiobject
Diffstat (limited to 'libmsi/where.c')
-rw-r--r--libmsi/where.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmsi/where.c b/libmsi/where.c
index 9cc74d7..b8989d5 100644
--- a/libmsi/where.c
+++ b/libmsi/where.c
@@ -1214,7 +1214,7 @@ unsigned WHERE_CreateView( LibmsiDatabase *db, LibmsiView **view, WCHAR *tables,
TRACE("(%s)\n", debugstr_w(tables) );
- wv = msi_alloc_zero( sizeof *wv );
+ wv = alloc_msiobject( sizeof *wv, NULL );
if( !wv )
return ERROR_FUNCTION_FAILED;