Skip to content
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

mate-volume-control-applet mem leak #36

Open
jiangqii opened this issue Mar 23, 2022 · 1 comment
Open

mate-volume-control-applet mem leak #36

jiangqii opened this issue Mar 23, 2022 · 1 comment

Comments

@jiangqii
Copy link

jiangqii commented Mar 23, 2022

This link:
mate-desktop/mate-media#187

@jiangqii
Copy link
Author

I changed file like this and it is worked.

   373	    if (yh_flag == 1){//�first run and yh_flag =2;
   374		yh_flag = 2;
   375	    	g_warning("========= 1 run yh_flag = 2==========");
   376	    	if (g_hash_table_contains (alsa->priv->devices_ids, id) == TRUE) {
   377	    	    snd_ctl_close (ctl);
   378	    	    return FALSE;
   379	    	}
   380	    }else if(yh_flag == 2){
   381		yh_flag = 3;
   382	    	g_warning("========= 2 run yh_flag = 3==========");
   383	    	if (g_hash_table_contains (alsa->priv->devices_ids, id) == TRUE) {
   384	    	    snd_ctl_close (ctl);
   385		    yh_flag = 2;
   386	    		g_warning("========= 2 run ok then yh_flag = 2==========");
   387	    	    return FALSE;
   388	    	}
   389	    }else if(yh_flag == 3){
   390	    		g_warning("========= >= 3 run always failed! ==========");
   391	    	    snd_ctl_close (ctl);
   392	    	    return FALSE;
   393	    }else{
   394	    		g_warning("========= else ==========");
   395	    }

because i have a board.This board is arm64 and this board don't have "default".So,this will show "Failed to loaded element default".....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant