Fix another missing git_pkt_free
diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c
index 9bf2883..dd2d27e 100644
--- a/src/transports/smart_protocol.c
+++ b/src/transports/smart_protocol.c
@@ -622,7 +622,9 @@ int git_smart__download_pack(
}
}
- git__free(pkt);
+ if (pkt) {
+ git_pkt_free(pkt);
+ }
if (error < 0)
goto done;