mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
pull_with_options: Don't leak csum_v
Closes: #596 Approved by: cgwalters
This commit is contained in:
parent
fc107e5bb4
commit
239cb1494f
@ -2800,7 +2800,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||
for (i = 0; i < n; i++)
|
||||
{
|
||||
const char *delta;
|
||||
GVariant *csum_v = NULL;
|
||||
g_autoptr(GVariant) csum_v = NULL;
|
||||
guchar *csum_data = g_malloc (OSTREE_SHA256_DIGEST_LEN);
|
||||
g_autoptr(GVariant) ref = g_variant_get_child_value (deltas, i);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user