app/plugin fix #11407 PLUGIN_DEBUG_WRAP=all
So a tester can valgrind all plugins.
This commit is contained in:
parent
20de1e0560
commit
24554d7fe2
1 changed files with 6 additions and 1 deletions
|
|
@ -120,7 +120,12 @@ gimp_plug_in_debug_argv (GimpPlugInDebug *debug,
|
|||
|
||||
basename = g_path_get_basename (name);
|
||||
|
||||
if (!(debug->flags & flag) || (strcmp (debug->name, basename) != 0))
|
||||
/* Return NULL when flags don't match OR
|
||||
* (targeted plugin is not "all" AND targeted plugin not match passed filename )
|
||||
*/
|
||||
if (!(debug->flags & flag) ||
|
||||
((strcmp (debug->name, basename) != 0) &&
|
||||
(strcmp (debug->name, "all") != 0)))
|
||||
{
|
||||
g_free (basename);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue