Merge pull request 'fixed crash if nothing were found' (#12) from YanTheKaller/libublsettings:master into master

Reviewed-on: #12
pull/15/head v1.8
Dmitry Razumov 2 years ago
commit 36432cc3f4

@ -1146,8 +1146,8 @@ char *yon_config_get_section_for_key(char *key){
}
void *yon_config_get_all_by_key(char *key, int *size){
(*size)=0;
check_config{
(*size)=0;
config_str ret_data=NULL;
dictionary *dict = NULL;
for_dictionaries(dict, (dictionary*)__yon__config__strings){

Loading…
Cancel
Save