Missing resource opening return value fix

pull/46/head
parent d7036cf501
commit 503a8f57a0
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -103,8 +103,8 @@ void yon_packages_finish(){
config_str yon_resource_open_file(const char *path, int *size){
config_str parsed = NULL;
char *modules;
gsize sz;
char *modules = NULL;
gsize sz=0;
GFile *file = g_file_new_for_uri(path);
g_file_load_contents(file,NULL,&modules,&sz,NULL,NULL);
g_object_unref(G_OBJECT(file));

Loading…
Cancel
Save