fix: add null check before freeing main_ctl in free_main_control func… #325
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: compile xfrpc in ubuntu-latest | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare build environment | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libjson-c-dev libevent-dev libssl-dev | |
- name: compile xfrpc | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make |