diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-30 11:27:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:30:31 +0100 |
commit | 33399f41f9331ec2c1859af6634db3de72e946ba (patch) | |
tree | c3837e80c51f3d722ff2186f652a245385d81bc9 /libmsi/table.c | |
parent | 95586f6733d3fcbc756265818ef7e52b207542fe (diff) | |
download | msitools-33399f41f9331ec2c1859af6634db3de72e946ba.tar.gz msitools-33399f41f9331ec2c1859af6634db3de72e946ba.tar.xz msitools-33399f41f9331ec2c1859af6634db3de72e946ba.zip |
allocate views with alloc_msiobject
Diffstat (limited to 'libmsi/table.c')
-rw-r--r-- | libmsi/table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmsi/table.c b/libmsi/table.c index 211fc72..dab2d5f 100644 --- a/libmsi/table.c +++ b/libmsi/table.c @@ -2181,7 +2181,7 @@ unsigned TABLE_CreateView( LibmsiDatabase *db, const WCHAR *name, LibmsiView **v return STORAGES_CreateView( db, view ); sz = sizeof *tv + strlenW(name)*sizeof name[0] ; - tv = msi_alloc_zero( sz ); + tv = alloc_msiobject( sz, NULL ); if( !tv ) return ERROR_FUNCTION_FAILED; |