[ovs-build] Passed: ovsrobot/ovs#2272 (series_160347 - 6dce599)

Travis CI builds at travis-ci.org
Mon Feb 24 12:55:44 UTC 2020


Build Update for ovsrobot/ovs
-------------------------------------

Build: #2272
Status: Passed

Duration: 52 mins and 12 secs
Commit: 6dce599 (series_160347)
Author: Damijan Skvarc
Message: util: helper function for freeing allocated array of pointers

OVS code provides useful functionality svec, which deals with dynamical
vector of strings. This module already provides functionality for adding,
removing, modifying... strings in this vector. While working on reducing memory
leaks in OVN code I found ovs_cmdl_env_parse_all() function, which allocates
array of strings with the help of svec. Resulting array represents memory
leak (both in ovn-nctl and ovn-sctl) code, however since it is detached for
svec entity apparent functionality for releasing this memory could not be used.

Instead of assigning allocated memory back to svec (with a purpose to deallocate it
with appropriate function) I was looking for yet another function in OVS which would
do the same. Since I didn't find it I am proposing the following function.
I think the most apropriate location would be in util.c module, however if someone
could advice for some other possibility I would be thankful.

Signed-off-by: Damijan Skvarc <damjan.skvarc at gmail.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/commit/6dce5992e716

View the full build log and details: https://travis-ci.org/ovsrobot/ovs/builds/654378321?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=22285853&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20200224/943358ae/attachment-0001.html>


More information about the build mailing list