refactor: Created function that will return the char ** (originally char *) that will be used to make the description file. Also removed free that was resulting in a crash.

This commit is contained in:
GreekStapler 2023-01-25 17:17:18 +01:00
parent a60c923547
commit 6d731d788c
2 changed files with 47 additions and 4 deletions

View file

@ -21,6 +21,6 @@ typedef struct pkg {
Pkg *package_read_archive(const char *pkg_path);
void package_free(Pkg ** ptp);
char *package_to_description(Pkg *pkg);
char **package_to_description(Pkg *pkg);
#endif