-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small fixes of libdnf plugins #3382
Conversation
jirihnidek
commented
Feb 22, 2024
- Removed unused includes of .h files
- Fixed deprecated function prototype
- Fixed few memory leaks in productdb.c
- Fixed few memory leaks in test-productdb.c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM; there are few lines with the wrong indentation.
Since this needs to be amended: there is a typo in the message of the first commit:
- There were some unused includes in product-ide.c and unit test
files
s/product-ide/product-id/
* There were some unused includes in product-id.c and unit test files
* Added void to prototype of initRepoProductId()
* When reading of JSON file fails, then do not forget to free object representing JSON file. Fix indentation.
* Fixed several memory leaks in test-productdb.c
b137fdc
to
01f65d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!