summaryrefslogtreecommitdiffstats
path: root/libmsi/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmsi/select.c')
-rw-r--r--libmsi/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmsi/select.c b/libmsi/select.c
index 3866cae..949a70a 100644
--- a/libmsi/select.c
+++ b/libmsi/select.c
@@ -121,7 +121,7 @@ static unsigned select_view_set_row( LibmsiView *view, unsigned row, LibmsiRecor
return r;
/* expand the record to the right size for the underlying table */
- expanded = libmsi_record_create( col_count );
+ expanded = libmsi_record_new( col_count );
if ( !expanded )
return LIBMSI_RESULT_FUNCTION_FAILED;
@@ -158,7 +158,7 @@ static unsigned select_view_insert_row( LibmsiView *view, LibmsiRecord *record,
if (r != LIBMSI_RESULT_SUCCESS)
return r;
- outrec = libmsi_record_create( table_cols + 1 );
+ outrec = libmsi_record_new( table_cols + 1 );
for (i=0; i<sv->num_cols; i++)
{