rob05c commented on a change in pull request #2536: Fix TO database leak
URL: https://github.com/apache/trafficcontrol/pull/2536#discussion_r202168356
 
 

 ##########
 File path: 
traffic_ops/traffic_ops_golang/deliveryservicesregexes/deliveryservicesregexes.go
 ##########
 @@ -141,6 +142,7 @@ ORDER BY dsr.set_number ASC
                        handleErrs(http.StatusInternalServerError, 
errors.New("querying: "+err.Error()))
                        return
                }
+               rows.Close()
 
 Review comment:
   Fixed

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to