Skip to content

Commit

Permalink
Python bindings: fix Algorithm.GetAsDatasetValue() memory leak (maste…
Browse files Browse the repository at this point in the history
…r only)
  • Loading branch information
rouault committed Jan 9, 2025
1 parent 697111e commit c6bedc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swig/include/Algorithm.i
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public:
return GDALAlgorithmArgGetAsDouble(self);
}

%newobject GetAsDataset;
%newobject GetAsDatasetValue;
GDALArgDatasetValueHS* GetAsDatasetValue() {
return GDALAlgorithmArgGetAsDatasetValue(self);
}
Expand Down

0 comments on commit c6bedc3

Please sign in to comment.