Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 18, 2024
1 parent 047e174 commit fafa689
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/quotamodel.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,8 @@ calculate_table_disk_usage(bool is_init)
{
reltablespace = MyDatabaseTableSpace;
}

heap_freetuple(classTup);
}
else
{
Expand Down Expand Up @@ -1112,10 +1114,6 @@ calculate_table_disk_usage(bool is_init)
tsentry->tablespaceoid = reltablespace;
}
}
if (HeapTupleIsValid(classTup))
{
heap_freetuple(classTup);
}
}

if (delete_entries_num) delete_from_table_size_map(delete_statement.data);
Expand Down

0 comments on commit fafa689

Please sign in to comment.