• Daniel Boles's avatar
    FileChooserWidget: Fix leaks in .get_subtitle() · 0f3396d7
    Daniel Boles authored
    Now that subtitle's default value "Searching" for OPERATION_MODE_SEARCH
    is duplicated as it should be, we cannot reassign other strings to it
    anymore, as that resulted in the original dupe of "Searching" leaking.
    
    Fix this by only assigning the dup'd "Searching" after trying to get
    more specific values, not before. We therefore need to set it to NULL
    during its declaration, and that means we needn't in the final else.
    0f3396d7