summaryrefslogtreecommitdiffstats
path: root/pcilib/bank.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-06-19 17:51:56 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-06-19 17:51:56 +0200
commit954583ac2ee8ec522a0283e6e3b249345c71a3e7 (patch)
treecdcef21dc7635ae04f17f4d48355583015267692 /pcilib/bank.c
parent36385f1e83c7f6dd45954033b91d1871e62005c4 (diff)
parent907559d880de032deb31aa5e648c11029bbf9cce (diff)
downloadpcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.tar.gz
pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.tar.bz2
pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.tar.xz
pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.zip
Integration of software registers
Diffstat (limited to 'pcilib/bank.c')
-rw-r--r--pcilib/bank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/bank.c b/pcilib/bank.c
index dbbb427..3d53db2 100644
--- a/pcilib/bank.c
+++ b/pcilib/bank.c
@@ -65,7 +65,7 @@ void pcilib_free_register_banks(pcilib_t *ctx) {
if (ctx->bank_ctx[i]) {
if (bapi->free)
- bapi->free(ctx->bank_ctx[i]);
+ bapi->free(ctx, ctx->bank_ctx[i]);
else
free(ctx->bank_ctx[i]);