MCPcopy Create free account
hub / github.com/git/git / free_transaction_data

Function free_transaction_data

refs/reftable-backend.c:935–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933};
934
935static void free_transaction_data(struct reftable_transaction_data *tx_data)
936{
937 if (!tx_data)
938 return;
939 for (size_t i = 0; i < tx_data->args_nr; i++) {
940 reftable_addition_destroy(tx_data->args[i].addition);
941 free(tx_data->args[i].updates);
942 }
943 free(tx_data->args);
944 free(tx_data);
945}
946
947/*
948 * Prepare transaction update for the given reference update. This will cause

Calls 1

Tested by

no test coverage detected