numbersprotocol / pyc2pa

Python implementation of C2PA: Coalition for Content Provenance and Authenticity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON parsing function's results keep growing in memory

bafu opened this issue · comments

Reported by James

James 6:02 PM
@bafu omg
`cai_json = caifile.get_cai_json_from_f(f)`
這個有 side effect

James  6:03 PM
前一次的結果會存在 memory 裡面,第二次 call 會 append 到之前的東西裡面

This issue is invalid, and I will close it directly.