c4ab119 Ticket #48146 - async simple paged results issue

Authored and Committed by nhosoi 8 years ago
    Ticket #48146 - async simple paged results issue
    
    Description: When the last page of the single paged results is returned,
    the search results structure is freed in the simple paged results code
    (in op_shared_search).  The search results structure is stashed in the
    simple paged results object across the pages.  The free and the clean up
    of the stashed address should have been atomic, but it was not.
    
    https://fedorahosted.org/389/ticket/48146
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
    (cherry picked from commit 947477f2e2367337a8c220d8c9d03a62bf1bbf1c)
    (cherry picked from commit ec8801a69adbe2f502513fabcbb79bc5e38bf197)
    
        
file modified
+7 -11